Docs: Synchronize `$category_name` description in `WP_Block_Pattern_Categories_Registry` methods.
Follow-up to [48156]. See #52628. Built from https://develop.svn.wordpress.org/trunk@50532 git-svn-id: http://core.svn.wordpress.org/trunk@50145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a3794a0de
commit
dc68fb8278
|
@ -32,7 +32,7 @@ final class WP_Block_Pattern_Categories_Registry {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern category name.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @param array $category_properties Array containing the properties of the category: label.
|
||||
* @return bool True if the pattern was registered with success and false otherwise.
|
||||
*/
|
||||
|
@ -55,7 +55,7 @@ final class WP_Block_Pattern_Categories_Registry {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern name including namespace.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @return bool True if the pattern was unregistered with success and false otherwise.
|
||||
*/
|
||||
public function unregister( $category_name ) {
|
||||
|
@ -76,7 +76,7 @@ final class WP_Block_Pattern_Categories_Registry {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern category name.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @return array Registered pattern properties.
|
||||
*/
|
||||
public function get_registered( $category_name ) {
|
||||
|
@ -103,7 +103,7 @@ final class WP_Block_Pattern_Categories_Registry {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern category name.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @return bool True if the pattern category is registered, false otherwise.
|
||||
*/
|
||||
public function is_registered( $category_name ) {
|
||||
|
@ -133,7 +133,7 @@ final class WP_Block_Pattern_Categories_Registry {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern category name.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @param array $category_properties Array containing the properties of the category.
|
||||
* @return bool True if the pattern category was registered with success and false otherwise.
|
||||
*/
|
||||
|
@ -146,7 +146,7 @@ function register_block_pattern_category( $category_name, $category_properties )
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @param string $category_name Pattern category name including namespace.
|
||||
* @return bool True if the pattern category was unregistered with success and false otherwise.
|
||||
*/
|
||||
function unregister_block_pattern_category( $category_name ) {
|
||||
|
|
|
@ -160,7 +160,7 @@ function register_block_pattern( $pattern_name, $pattern_properties ) {
|
|||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $pattern_name Pattern name including namespace.
|
||||
* @param string $pattern_name Pattern name including namespace.
|
||||
* @return bool True if the pattern was unregistered with success and false otherwise.
|
||||
*/
|
||||
function unregister_block_pattern( $pattern_name ) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-alpha-50531';
|
||||
$wp_version = '5.8-alpha-50532';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue