Skip to content

Commit

Permalink
Fix deprecated version for register_pattern (#22341)
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan authored May 14, 2020
1 parent 3de1392 commit 505fc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-block-patterns-registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public static function get_instance() {
* @return boolean True if the pattern was registered with success and false otherwise.
*/
function register_pattern( $pattern_name, $pattern_properties ) {
_deprecated_function( __FUNCTION__, 'Gutenberg 8.3.0', 'register_block_pattern()' );
_deprecated_function( __FUNCTION__, 'Gutenberg 8.1.0', 'register_block_pattern()' );
return register_block_pattern( $pattern_name, $pattern_properties );
}

Expand Down

0 comments on commit 505fc00

Please sign in to comment.