Make WordPress Core


Ignore:
Timestamp:
03/13/2021 11:15:14 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Synchronize $category_name description in WP_Block_Pattern_Categories_Registry methods.

Follow-up to [48156].

See #52628.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-pattern-categories-registry.php

    r50234 r50532  
    3333     * @since 5.5.0
    3434     *
    35      * @param string $category_name       Pattern category name.
     35     * @param string $category_name       Pattern category name including namespace.
    3636     * @param array  $category_properties Array containing the properties of the category: label.
    3737     * @return bool True if the pattern was registered with success and false otherwise.
     
    5656     * @since 5.5.0
    5757     *
    58      * @param string $category_name     Pattern name including namespace.
     58     * @param string $category_name Pattern category name including namespace.
    5959     * @return bool True if the pattern was unregistered with success and false otherwise.
    6060     */
     
    7777     * @since 5.5.0
    7878     *
    79      * @param string $category_name Pattern category name.
     79     * @param string $category_name Pattern category name including namespace.
    8080     * @return array Registered pattern properties.
    8181     */
     
    104104     * @since 5.5.0
    105105     *
    106      * @param string $category_name       Pattern category name.
     106     * @param string $category_name Pattern category name including namespace.
    107107     * @return bool True if the pattern category is registered, false otherwise.
    108108     */
     
    134134 * @since 5.5.0
    135135 *
    136  * @param string $category_name       Pattern category name.
     136 * @param string $category_name       Pattern category name including namespace.
    137137 * @param array  $category_properties Array containing the properties of the category.
    138138 * @return bool True if the pattern category was registered with success and false otherwise.
     
    147147 * @since 5.5.0
    148148 *
    149  * @param string $category_name       Pattern category name including namespace.
     149 * @param string $category_name Pattern category name including namespace.
    150150 * @return bool True if the pattern category was unregistered with success and false otherwise.
    151151 */
Note: See TracChangeset for help on using the changeset viewer.