diff --git a/amp.php b/amp.php index d1ae0e843c2..c839409a7dc 100644 --- a/amp.php +++ b/amp.php @@ -5,7 +5,7 @@ * Plugin URI: https://amp-wp.org * Author: AMP Project Contributors * Author URI: https://github.com/ampproject/amp-wp/graphs/contributors - * Version: 2.4.3-alpha + * Version: 2.5.0-alpha * License: GPLv2 or later * Requires at least: 5.3 * Requires PHP: 7.4 @@ -15,7 +15,7 @@ define( 'AMP__FILE__', __FILE__ ); define( 'AMP__DIR__', dirname( __FILE__ ) ); -define( 'AMP__VERSION', '2.4.3-alpha' ); +define( 'AMP__VERSION', '2.5.0-alpha' ); /** * Errors encountered while loading the plugin. diff --git a/includes/deprecated.php b/includes/deprecated.php index 7daaf7e1aca..4972b48442e 100644 --- a/includes/deprecated.php +++ b/includes/deprecated.php @@ -361,12 +361,12 @@ function amp_post_template_add_analytics_script( $data ) { * @since 2.2 * @link https://blog.amp.dev/2021/01/28/bento/ * - * @deprecated 2.4.3 Bento support has been removed. + * @deprecated 2.5.0 Bento support has been removed. * @codeCoverageIgnore * @return bool Whether Bento components are enabled. */ function amp_is_bento_enabled() { - _deprecated_function( __FUNCTION__, 'AMP 2.4.3' ); + _deprecated_function( __FUNCTION__, 'AMP 2.5.0' ); /** * Filters whether the use of Bento components is enabled. @@ -377,9 +377,9 @@ function amp_is_bento_enabled() { * @since 2.2 * @link https://blog.amp.dev/2021/01/28/bento/ * - * @deprecated 2.4.3 Bento support has been removed. + * @deprecated 2.5.0 Bento support has been removed. * * @param bool $enabled Enabled. */ - return apply_filters_deprecated( 'amp_bento_enabled', [ false ], 'AMP 2.4.3', 'Remove beno support', 'Bento support has been removed.' ); + return apply_filters_deprecated( 'amp_bento_enabled', [ false ], 'AMP 2.5.0', 'Remove bento support', 'Bento support has been removed.' ); } diff --git a/includes/sanitizers/class-amp-bento-sanitizer.php b/includes/sanitizers/class-amp-bento-sanitizer.php index 02cb0791a26..72379e0acc3 100644 --- a/includes/sanitizers/class-amp-bento-sanitizer.php +++ b/includes/sanitizers/class-amp-bento-sanitizer.php @@ -17,7 +17,7 @@ * AMP versions. Remove Bento stylesheets and scripts if they aren't needed. * * @since 2.2 - * @deprecated 2.4.3 Bento support have been removed from amphtml. + * @deprecated 2.5.0 Bento support have been removed from amphtml. * @internal */ class AMP_Bento_Sanitizer extends AMP_Base_Sanitizer { diff --git a/src/Admin/SiteHealth.php b/src/Admin/SiteHealth.php index d772f4c4fdb..09752bbc1ca 100644 --- a/src/Admin/SiteHealth.php +++ b/src/Admin/SiteHealth.php @@ -359,7 +359,7 @@ public function get_good_response_time_threshold( $threshold = 600 ) { return (int) apply_filters_deprecated( 'amp_page_cache_good_response_time_threshold', [ $threshold ], - 'AMP 2.4.3', + 'AMP 2.5.0', 'site_status_good_response_time_threshold' ); } else { @@ -368,7 +368,7 @@ public function get_good_response_time_threshold( $threshold = 600 ) { * * @since 2.2.1 * - * @deprecated 2.4.3 Use `site_status_good_response_time_threshold` instead. + * @deprecated 2.5.0 Use `site_status_good_response_time_threshold` instead. * * @param int $threshold Threshold in milliseconds. */