| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | /** |
| 15 | 15 | * {@internal Nobody should be able to overrule the real version number as this can cause |
| 16 | 16 | * serious issues with the options, so no if ( ! defined() ).}} |
| 17 | 17 | */ |
| 18 | -define( 'WPSEO_VERSION', '28.7-RC1' ); | |
| 18 | +define( 'WPSEO_VERSION', '28.6' ); | |
| 19 | 19 | |
| 20 | 20 | |
| 21 | 21 | if ( ! defined( 'WPSEO_PATH' ) ) { |
| 22 | 22 | define( 'WPSEO_PATH', plugin_dir_path( WPSEO_FILE ) ); |
| @@ -320,8 +320,9 @@ | ||
| 320 | 320 | * @return void |
| 321 | 321 | */ |
| 322 | 322 | function wpseo_init() { |
| 323 | 323 | require_once WPSEO_PATH . 'inc/wpseo-functions.php'; |
| 324 | + require_once WPSEO_PATH . 'inc/wpseo-functions-deprecated.php'; | |
| 324 | 325 | |
| 325 | 326 | // Make sure our option and meta value validation routines and default values are always registered and available. |
| 326 | 327 | WPSEO_Options::get_instance(); |
| 327 | 328 | WPSEO_Meta::init(); |
| @@ -524,8 +525,33 @@ | ||
| 524 | 525 | /* translators: %1$s expands to Yoast SEO, %2$s / %3$s: links to the installation manual in the Readme for the Yoast SEO code repository on GitHub */ |
| 525 | 526 | $message = esc_html__( 'The %1$s plugin installation is incomplete. Please refer to %2$sinstallation instructions%3$s.', 'wordpress-seo' ); |
| 526 | 527 | $message = sprintf( $message, 'Yoast SEO', '<a href="https://github.com/Yoast/wordpress-seo#installation">', '</a>' ); |
| 527 | 528 | yoast_wpseo_activation_failed_notice( $message ); |
| 529 | +} | |
| 530 | + | |
| 531 | +/** | |
| 532 | + * Throw an error if the filter extension is disabled (prevent white screens) and self-deactivate plugin. | |
| 533 | + * | |
| 534 | + * @since 2.0 | |
| 535 | + * @deprecated 23.3 | |
| 536 | + * @codeCoverageIgnore | |
| 537 | + * | |
| 538 | + * @return void | |
| 539 | + */ | |
| 540 | +function yoast_wpseo_missing_filter() { | |
| 541 | + _deprecated_function( __FUNCTION__, 'Yoast SEO 23.3' ); | |
| 542 | +} | |
| 543 | + | |
| 544 | +/** | |
| 545 | + * Returns the notice in case of missing filter extension. | |
| 546 | + * | |
| 547 | + * @deprecated 23.3 | |
| 548 | + * @codeCoverageIgnore | |
| 549 | + * | |
| 550 | + * @return void | |
| 551 | + */ | |
| 552 | +function yoast_wpseo_missing_filter_notice() { | |
| 553 | + _deprecated_function( __FUNCTION__, 'Yoast SEO 23.3' ); | |
| 528 | 554 | } |
| 529 | 555 | |
| 530 | 556 | /** |
| 531 | 557 | * Echo's the Activation failed notice with any given message. |