Skip to content

Commit

Permalink
Merge pull request #7646 from ampproject/update/milestone
Browse files Browse the repository at this point in the history
Update milestone from 2.4.3 to 2.5.0
  • Loading branch information
westonruter authored Oct 25, 2023
2 parents c1332cc + a7c4b62 commit 2393bd4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions amp.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions includes/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.' );
}
2 changes: 1 addition & 1 deletion includes/sanitizers/class-amp-bento-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/Admin/SiteHealth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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.
*/
Expand Down

0 comments on commit 2393bd4

Please sign in to comment.