WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/22/2016 06:00:23 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37196 r37488  
    623623
    624624    /**
    625      * Filter the default post content initially used in the "Write Post" form.
     625     * Filters the default post content initially used in the "Write Post" form.
    626626     *
    627627     * @since 1.5.0
     
    633633
    634634    /**
    635      * Filter the default post title initially used in the "Write Post" form.
     635     * Filters the default post title initially used in the "Write Post" form.
    636636     *
    637637     * @since 1.5.0
     
    643643
    644644    /**
    645      * Filter the default post excerpt initially used in the "Write Post" form.
     645     * Filters the default post excerpt initially used in the "Write Post" form.
    646646     *
    647647     * @since 1.5.0
     
    10231023
    10241024    /**
    1025      * Filter the number of items per page to show for a specific 'per_page' type.
     1025     * Filters the number of items per page to show for a specific 'per_page' type.
    10261026     *
    10271027     * The dynamic portion of the hook name, `$post_type`, refers to the post type.
     
    10381038
    10391039    /**
    1040      * Filter the number of posts displayed per page when specifically listing "posts".
     1040     * Filters the number of posts displayed per page when specifically listing "posts".
    10411041     *
    10421042     * @since 2.8.0
     
    11141114
    11151115    /**
    1116      * Filter the number of items to list per page when listing media items.
     1116     * Filters the number of items to list per page when listing media items.
    11171117     *
    11181118     * @since 2.9.0
     
    11821182
    11831183    /**
    1184      * Filter the postbox classes for a specific screen and screen ID combo.
     1184     * Filters the postbox classes for a specific screen and screen ID combo.
    11851185     *
    11861186     * The dynamic portions of the hook name, `$page` and `$id`, refer to
     
    12601260
    12611261    /**
    1262      * Filter the sample permalink.
     1262     * Filters the sample permalink.
    12631263     *
    12641264     * @since 4.4.0
     
    13481348
    13491349    /**
    1350      * Filter the sample permalink HTML markup.
     1350     * Filters the sample permalink HTML markup.
    13511351     *
    13521352     * @since 2.9.0
     
    13941394
    13951395        /**
    1396          * Filter the size used to display the post thumbnail image in the 'Featured Image' meta box.
     1396         * Filters the size used to display the post thumbnail image in the 'Featured Image' meta box.
    13971397         *
    13981398         * Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail'
     
    14271427
    14281428    /**
    1429      * Filter the admin post thumbnail HTML markup to return.
     1429     * Filters the admin post thumbnail HTML markup to return.
    14301430     *
    14311431     * @since 2.9.0
     
    15061506
    15071507        /**
    1508          * Filter whether to show the post locked dialog.
     1508         * Filters whether to show the post locked dialog.
    15091509         *
    15101510         * Returning a falsey value to the filter will short-circuit displaying the dialog.
     
    15581558
    15591559        /**
    1560          * Filter whether to allow the post lock to be overridden.
     1560         * Filters whether to allow the post lock to be overridden.
    15611561         *
    15621562         * Returning a falsey value to the filter will disable the ability
     
    18361836
    18371837    /**
    1838      * Filter the post redirect destination URL.
     1838     * Filters the post redirect destination URL.
    18391839     *
    18401840     * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.