rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,38 @@
<?php
/**
* WPSEO Premium plugin file.
*
* @package WPSEO\Premium
*/
/**
* Class WPSEO_Premium_Prominent_Words_Language_Support.
*
* @deprecated 14.7
* @codeCoverageIgnore
*/
class WPSEO_Premium_Prominent_Words_Language_Support {
/**
* List of supported languages.
*
* @var string[]
*/
protected $supported_languages = [ 'en', 'de', 'nl', 'es', 'fr', 'it', 'pt', 'ru', 'pl', 'sv', 'id' ];
/**
* Returns whether the current language is supported for the link suggestions.
*
* @deprecated 14.7
* @codeCoverageIgnore
*
* @param string $language The language to check for.
*
* @return bool Whether the current language is supported for the link suggestions.
*/
public function is_language_supported( $language ) {
_deprecated_function( __METHOD__, 'WPSEO Premium 14.7' );
return in_array( $language, $this->supported_languages, true );
}
}