Skip to content

Commit

Permalink
Fix deprecation replacement and docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Apr 21, 2024
1 parent 821ca79 commit 92ebee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/block-supports/elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
/**
* Update the block content with elements class names.
*
* @deprecated 6.6.0 Use WP_Duotone_Gutenberg::register_duotone_support() instead.
* @deprecated 6.6.0 Use `gutenberg_render_elements_class_name` instead.
*
* @param string $block_content Rendered block content.
* @return string Filtered block content.
*/
function gutenberg_render_elements_support( $block_content ) {
_deprecated_function( __FUNCTION__, '6.6.0', 'gutenberg_render_elements_support' );
_deprecated_function( __FUNCTION__, '6.6.0', 'gutenberg_render_elements_class_name' );
return $block_content;
}

Expand Down

0 comments on commit 92ebee5

Please sign in to comment.