Make WordPress Core

Changeset 42877


Ignore:
Timestamp:
03/25/2018 07:34:31 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve various inline documentation.

See #42505

Location:
trunk/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r42875 r42877  
    440440         *
    441441         * @since MU (3.0.0)
    442          *
    443          * @param null $unused
    444442         */
    445         do_action( 'wpmuadminresult', '' );
     443        do_action( 'wpmuadminresult' );
    446444    ?>
    447445
     
    15301528     *
    15311529     * @param string $notice   The notice content.
    1532      * @param array  $response An array containing web browser information.
     1530     * @param array  $response An array containing web browser information. See `wp_check_browser_version()`.
    15331531     */
    15341532    echo apply_filters( 'browse-happy-notice', $notice, $response );
  • trunk/src/wp-admin/includes/taxonomy.php

    r42875 r42877  
    283283     * @see get_terms_to_edit()
    284284     *
    285      * @param array  $terms_to_edit An array of terms.
    286      * @param string $taxonomy     The taxonomy for which to retrieve terms. Default 'post_tag'.
     285     * @param string $terms_to_edit A comma-separated list of term names.
     286     * @param string $taxonomy      The taxonomy name for which to retrieve terms.
    287287     */
    288288    $terms_to_edit = apply_filters( 'terms_to_edit', $terms_to_edit, $taxonomy );
  • trunk/src/wp-admin/includes/theme.php

    r42875 r42877  
    581581     * Filters theme data before it is prepared for JavaScript.
    582582     *
    583      * Passing a non-empty array will result in wp_prepare_themes_for_js() returning
     583     * Passing a non-empty array will result in `wp_prepare_themes_for_js()` returning
    584584     * early with that value instead.
    585585     *
  • trunk/src/wp-includes/category-template.php

    r42875 r42877  
    13881388     * @since 2.9.0
    13891389     *
    1390      * @param array $term_list List of terms to display.
     1390     * @param string $term_list List of terms to display.
    13911391     * @param string $taxonomy  The taxonomy name.
    13921392     * @param string $before    String to use before the terms.
  • trunk/src/wp-includes/class-http.php

    r42766 r42877  
    441441     * @since 4.6.0
    442442     *
    443      * @param array $cookies List of cookies to send with the request.
     443     * @param array $cookies Array of cookies to send with the request.
    444444     * @return Requests_Cookie_Jar Cookie holder object.
    445445     */
  • trunk/src/wp-includes/class-walker-nav-menu.php

    r42875 r42877  
    141141
    142142        /**
    143          * Filters the CSS class(es) applied to a menu item's list item element.
     143         * Filters the CSS classes applied to a menu item's list item element.
    144144         *
    145145         * @since 3.0.0
  • trunk/src/wp-includes/class-wp-meta-query.php

    r42768 r42877  
    340340         * @since 3.1.0
    341341         *
    342          * @param array  $clauses           Array containing the query's JOIN and WHERE clauses.
     342         * @param array  $sql               Array containing the query's JOIN and WHERE clauses.
    343343         * @param array  $queries           Array of meta queries.
    344344         * @param string $type              Type of meta.
  • trunk/src/wp-includes/class-wp-metadata-lazyloader.php

    r42343 r42877  
    9898         * @since 4.5.0
    9999         *
    100          * @param array                  $object_ids  Object IDs.
     100         * @param array                  $object_ids  Array of object IDs.
    101101         * @param string                 $object_type Type of object being queued.
    102102         * @param WP_Metadata_Lazyloader $lazyloader  The lazy-loader object.
  • trunk/src/wp-includes/date.php

    r42876 r42877  
    141141     *     }
    142142     * }
    143      * @param array $default_column Optional. Default column to query against. Default 'post_date'.
    144      *                              Accepts 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt',
    145      *                              'comment_date', 'comment_date_gmt'.
     143     * @param string $default_column Optional. Default column to query against. Default 'post_date'.
     144     *                               Accepts 'post_date', 'post_date_gmt', 'post_modified', 'post_modified_gmt',
     145     *                               'comment_date', 'comment_date_gmt'.
    146146     */
    147147    public function __construct( $date_query, $default_column = 'post_date' ) {
Note: See TracChangeset for help on using the changeset viewer.