-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into form-input/remove-row-reverse
- Loading branch information
Showing
221 changed files
with
3,822 additions
and
1,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7145 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/64076 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7125 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/61577 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7137 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/64128 | ||
* https://github.com/WordPress/gutenberg/pull/64192 | ||
* https://github.com/WordPress/gutenberg/pull/64328 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
https://github.com/WordPress/wordpress-develop/pull/7179 | ||
|
||
* https://github.com/WordPress/gutenberg/pull/64401 | ||
* https://github.com/WordPress/gutenberg/pull/64459 | ||
* https://github.com/WordPress/gutenberg/pull/64477 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/** | ||
* Block template functions. | ||
* | ||
* @package gutenberg | ||
*/ | ||
|
||
if ( ! function_exists( 'wp_register_block_template' ) ) { | ||
/** | ||
* Register a template. | ||
* | ||
* @param string $template_name Template name in the form of `plugin_uri//template_name`. | ||
* @param array|string $args Object type or array of object types with which the taxonomy should be associated. | ||
* @param array|string $args { | ||
* @type string $title Optional. Title of the template as it will be shown in the Site Editor | ||
* and other UI elements. | ||
* @type string $description Optional. Description of the template as it will be shown in the Site | ||
* Editor. | ||
* @type string $content Optional. Default content of the template that will be used when the | ||
* template is rendered or edited in the editor. | ||
* @type string[] $post_types Optional. Array of post types to which the template should be available. | ||
* @type string $plugin Uri of the plugin that registers the template. | ||
* } | ||
* @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() ) { | ||
return WP_Block_Templates_Registry::get_instance()->register( $template_name, $args ); | ||
} | ||
} | ||
|
||
if ( ! function_exists( 'wp_unregister_block_template' ) ) { | ||
/** | ||
* Unregister a template. | ||
* | ||
* @param string $template_name Template name in the form of `plugin_uri//template_name`. | ||
* @return true|WP_Error True on success, WP_Error on failure or if the template doesn't exist. | ||
*/ | ||
function wp_unregister_block_template( $template_name ) { | ||
return WP_Block_Templates_Registry::get_instance()->unregister( $template_name ); | ||
} | ||
} |
Oops, something went wrong.