diff --git a/src/wp-includes/class-wp-block-pattern-categories-registry.php b/src/wp-includes/class-wp-block-pattern-categories-registry.php index 740ab0dc8f..90a69f003e 100644 --- a/src/wp-includes/class-wp-block-pattern-categories-registry.php +++ b/src/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/src/wp-includes/class-wp-block-patterns-registry.php b/src/wp-includes/class-wp-block-patterns-registry.php index a8db1e667f..7963440814 100644 --- a/src/wp-includes/class-wp-block-patterns-registry.php +++ b/src/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 ) {