Skip to content

Commit

Permalink
Update semantic version in bento deprecation messages
Browse files Browse the repository at this point in the history
Co-authored-by: Weston Ruter <[email protected]>
  • Loading branch information
thelovekesh and westonruter committed Oct 14, 2023
1 parent a7fb821 commit 75ea894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.' );
}

0 comments on commit 75ea894

Please sign in to comment.