diff --git a/wp-includes/block-template.php b/wp-includes/block-template.php index d42a74479c..2a75231ae4 100644 --- a/wp-includes/block-template.php +++ b/wp-includes/block-template.php @@ -377,7 +377,7 @@ function _resolve_template_for_new_post( $wp_query ) { * } * @return WP_Block_Template|WP_Error The registered template object on success, WP_Error object on failure. */ -function wp_register_block_template( $template_name, $args = array() ) { +function register_block_template( $template_name, $args = array() ) { return WP_Block_Templates_Registry::get_instance()->register( $template_name, $args ); } @@ -390,6 +390,6 @@ function wp_register_block_template( $template_name, $args = array() ) { * @return WP_Block_Template|WP_Error The unregistered template object on success, WP_Error object on failure or if the * template doesn't exist. */ -function wp_unregister_block_template( $template_name ) { +function unregister_block_template( $template_name ) { return WP_Block_Templates_Registry::get_instance()->unregister( $template_name ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 021065fcfc..28a65b5852 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-beta2-59200'; +$wp_version = '6.7-beta2-59201'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.