Make WordPress Core


Ignore:
Timestamp:
04/02/2022 04:24:24 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in WP_Customize_Nav_Menus class, per the documentation standards.

Follow-up to [53054].

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r52978 r53055  
    477477
    478478    /**
    479      * Enqueue scripts and styles for Customizer pane.
     479     * Enqueues scripts and styles for Customizer pane.
    480480     *
    481481     * @since 4.3.0
     
    599599
    600600    /**
    601      * Allow non-statically created settings to be constructed with custom WP_Customize_Setting subclass.
     601     * Allows non-statically created settings to be constructed with custom WP_Customize_Setting subclass.
    602602     *
    603603     * @since 4.3.0
     
    620620
    621621    /**
    622      * Add the customizer settings and controls.
     622     * Adds the customizer settings and controls.
    623623     *
    624624     * @since 4.3.0
     
    864864
    865865    /**
    866      * Get the base10 intval.
     866     * Gets the base10 intval.
    867867     *
    868868     * This is used as a setting's sanitize_callback; we can't use just plain
     
    879879
    880880    /**
    881      * Return an array of all the available item types.
     881     * Returns an array of all the available item types.
    882882     *
    883883     * @since 4.3.0
     
    930930
    931931    /**
    932      * Add a new `auto-draft` post.
     932     * Adds a new `auto-draft` post.
    933933     *
    934934     * @since 4.7.0
     
    10571057
    10581058    /**
    1059      * Print the JavaScript templates used to render Menu Customizer components.
     1059     * Prints the JavaScript templates used to render Menu Customizer components.
    10601060     *
    10611061     * Templates are imported into the JS use wp.template.
     
    11351135
    11361136    /**
    1137      * Print the HTML template used to render the add-menu-item frame.
     1137     * Prints the HTML template used to render the add-menu-item frame.
    11381138     *
    11391139     * @since 4.3.0
     
    11931193
    11941194    /**
    1195      * Print the markup for new menu items.
     1195     * Prints the markup for new menu items.
    11961196     *
    11971197     * To be used in the template #available-menu-items.
     
    12381238
    12391239    /**
    1240      * Print the markup for available menu item custom links.
     1240     * Prints the markup for available menu item custom links.
    12411241     *
    12421242     * @since 4.7.0
     
    13181318
    13191319    /**
    1320      * Add hooks for the Customizer preview.
     1320     * Adds hooks for the Customizer preview.
    13211321     *
    13221322     * @since 4.3.0
     
    13311331
    13321332    /**
    1333      * Make the auto-draft status protected so that it can be queried.
     1333     * Makes the auto-draft status protected so that it can be queried.
    13341334     *
    13351335     * @since 4.7.0
     
    13431343
    13441344    /**
    1345      * Sanitize post IDs for posts created for nav menu items to be published.
     1345     * Sanitizes post IDs for posts created for nav menu items to be published.
    13461346     *
    13471347     * @since 4.7.0
     
    13731373
    13741374    /**
    1375      * Publish the auto-draft posts that were created for nav menu items.
     1375     * Publishes the auto-draft posts that were created for nav menu items.
    13761376     *
    13771377     * The post IDs will have been sanitized by already by
     
    14141414
    14151415    /**
    1416      * Keep track of the arguments that are being passed to wp_nav_menu().
     1416     * Keeps track of the arguments that are being passed to wp_nav_menu().
    14171417     *
    14181418     * @since 4.3.0
     
    15181518
    15191519    /**
    1520      * Enqueue scripts for the Customizer preview.
     1520     * Enqueues scripts for the Customizer preview.
    15211521     *
    15221522     * @since 4.3.0
     
    15411541
    15421542    /**
    1543      * Export any wp_nav_menu() calls during the rendering of any partials.
     1543     * Exports any wp_nav_menu() calls during the rendering of any partials.
    15441544     *
    15451545     * @since 4.5.0
     
    15541554
    15551555    /**
    1556      * Render a specific menu via wp_nav_menu() using the supplied arguments.
     1556     * Renders a specific menu via wp_nav_menu() using the supplied arguments.
    15571557     *
    15581558     * @since 4.3.0
Note: See TracChangeset for help on using the changeset viewer.