From 75ea894328bcc24ef1f9ae270fdada45924cde3b Mon Sep 17 00:00:00 2001 From: Lovekesh Kumar Date: Thu, 21 Sep 2023 00:09:29 +0530 Subject: [PATCH] Update semantic version in bento deprecation messages Co-authored-by: Weston Ruter --- includes/deprecated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/deprecated.php b/includes/deprecated.php index 8a8bf40f9aa..9f98c8310c0 100644 --- a/includes/deprecated.php +++ b/includes/deprecated.php @@ -366,7 +366,7 @@ function amp_post_template_add_analytics_script( $data ) { * @return bool Whether Bento components are enabled. */ function amp_is_bento_enabled() { - _deprecated_function( __FUNCTION__, '2.4.3' ); + _deprecated_function( __FUNCTION__, 'AMP 2.4.3' ); /** * Filters whether the use of Bento components is enabled. @@ -381,5 +381,5 @@ function amp_is_bento_enabled() { * * @param bool $enabled Enabled. */ - return apply_filters_deprecated( 'amp_bento_enabled', [ false ], '2.4.3', 'Remove beno support', 'Bento support has been removed.' ); + return apply_filters_deprecated( 'amp_bento_enabled', [ false ], 'AMP 2.4.3', 'Remove beno support', 'Bento support has been removed.' ); }