Skip to content

Commit

Permalink
Correct deprecation version number
Browse files Browse the repository at this point in the history
  • Loading branch information
pls78 committed Dec 5, 2022
1 parent 6320211 commit f1b694e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/deprecated/i18n/i18n-v3.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Yoast_I18n_v3 {
* @param bool $show_translation_box Whether the translation box should be shown.
*/
public function __construct( $args, $show_translation_box = true ) {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
}

/**
Expand All @@ -39,7 +39,7 @@ public function __construct( $args, $show_translation_box = true ) {
* @return bool Returns true if the language is en_US.
*/
protected function is_default_language( $language ) {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
return true;
}

Expand All @@ -54,7 +54,7 @@ protected function is_default_language( $language ) {
* @return string The i18n promo message.
*/
public function get_promo_message() {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
return '';
}

Expand All @@ -69,7 +69,7 @@ public function get_promo_message() {
* @return string
*/
public function get_dismiss_i18n_message_button() {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
return '';
}

Expand All @@ -82,7 +82,7 @@ public function get_dismiss_i18n_message_button() {
* @access public
*/
public function promo() {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
}

/**
Expand All @@ -94,6 +94,6 @@ public function promo() {
* @param string $api_url The new API URL.
*/
public function set_api_url( $api_url ) {
\_deprecated_function( __METHOD__, 'WPSEO 19.13' );
\_deprecated_function( __METHOD__, 'WPSEO 19.12' );
}
}

0 comments on commit f1b694e

Please sign in to comment.