From dc68fb82787707393589adc388151d891d9da0d5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 13 Mar 2021 11:17:03 +0000 Subject: [PATCH] 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 --- .../class-wp-block-pattern-categories-registry.php | 12 ++++++------ wp-includes/class-wp-block-patterns-registry.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/class-wp-block-pattern-categories-registry.php b/wp-includes/class-wp-block-pattern-categories-registry.php index 740ab0dc8f..90a69f003e 100644 --- a/wp-includes/class-wp-block-pattern-categories-registry.php +++ b/wp-includes/class-wp-block-pattern-categories-registry.php @@ -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 ) { diff --git a/wp-includes/class-wp-block-patterns-registry.php b/wp-includes/class-wp-block-patterns-registry.php index a8db1e667f..7963440814 100644 --- a/wp-includes/class-wp-block-patterns-registry.php +++ b/wp-includes/class-wp-block-patterns-registry.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 3add78ef99..7e3611590f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.