Make WordPress Core

Changeset 38024


Ignore:
Timestamp:
07/09/2016 01:59:16 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6.

See #37318.

Location:
trunk/src/wp-admin/includes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r37890 r38024  
    420420     * @global int $cat Currently selected category.
    421421     *
    422      * @param string $post_type The Post Type.
     422     * @param string $post_type Post type slug.
    423423     */
    424424    protected function categories_dropdown( $post_type ) {
     
    431431         *
    432432         * @param bool   $disable   Whether to disable the categories drop-down. Default false.
    433          * @param string $post_type The post type.
     433         * @param string $post_type Post type slug.
    434434         */
    435435        if ( false !== apply_filters( 'disable_categories_dropdown', false, $post_type ) ) {
  • trunk/src/wp-admin/includes/export.php

    r37488 r38024  
    257257
    258258    /**
    259      * Output termmeta XML tags for a given term object.
     259     * Output term meta XML tags for a given term object.
    260260     *
    261261     * @since 4.6.0
  • trunk/src/wp-admin/includes/media.php

    r37961 r38024  
    27702770
    27712771        /**
    2772          * Fires when attachment type can't be rendered in the edit form.
     2772         * Fires when an attachment type can't be rendered in the edit form.
    27732773         *
    27742774         * @since 4.6.0
  • trunk/src/wp-admin/includes/misc.php

    r37674 r38024  
    921921
    922922/**
    923  * Output JS that reloads the page if the user navigated to it with the Back or Forward button.
     923 * Outputs JS that reloads the page if the user navigated to it with the Back or Forward button.
    924924 *
    925925 * Used on the Edit Post and Add New Post screens. Needed to ensure the page is not loaded from browser cache,
  • trunk/src/wp-admin/includes/ms.php

    r37985 r38024  
    10361036 *
    10371037 * @param $args {
    1038  *     Optional. Array or string of Query parameters.
    1039  *
    1040  *     @type int     $blog_id   The site ID. Default is the current site.
    1041  *     @type array   $links     The tabs to include with (label|url|cap) keys.
    1042  *     @type string  $selected The ID of the selected link.
     1038 *     Optional. Array or string of Query parameters. Default empty array.
     1039 *
     1040 *     @type int    $blog_id  The site ID. Default is the current site.
     1041 *     @type array  $links    The tabs to include with (label|url|cap) keys.
     1042 *     @type string $selected The ID of the selected link.
    10431043 * }
    10441044 */
  • trunk/src/wp-admin/includes/post.php

    r37914 r38024  
    14371437     *
    14381438     * @since 2.9.0
    1439      * @since 3.5.0 Added $post->ID
    1440      * @since 4.6.0 Added $thumbnail_id
     1439     * @since 3.5.0 Added the `$post_id` parameter.
     1440     * @since 4.6.0 Added the `$thumbnail_id` parameter.
    14411441     *
    14421442     * @param string $content      Admin post thumbnail HTML markup.
Note: See TracChangeset for help on using the changeset viewer.