Make WordPress Core


Ignore:
Timestamp:
10/30/2014 01:04:55 AM (10 years ago)
Author:
DrewAPicture
Message:

Remove redundant and erroneous @uses tag from most core inline documentation.

Per our inline documentation standards, no further use of the @uses tag is recommended as used and used-by relationships can be derived through other means. This removes most uses of the tag in core documentation, with remaining tags to be converted to @global or @see as they apply.

Fixes #30191.

File:
1 edited

Legend:

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

    r30085 r30105  
    407407 * @see WP_Query::is_front_page()
    408408 * @since 2.5.0
    409  * @uses is_home()
    410  * @uses get_option()
    411409 *
    412410 * @return bool True, if front of site.
     
    23582356     * @since 1.5.0
    23592357     * @access public
    2360      * @uses do_action_ref_array() Calls 'pre_get_posts' hook before retrieving posts.
    23612358     *
    23622359     * @return array List of posts.
     
    36933690     * @since 1.5.0
    36943691     * @access public
    3695      * @uses $post
    3696      * @uses do_action_ref_array() Calls 'loop_start' if loop has just started
    36973692     */
    36983693    public function the_post() {
     
    37213716     * @since 1.5.0
    37223717     * @access public
    3723      * @uses do_action_ref_array() Calls 'loop_end' if loop is ended
    37243718     *
    37253719     * @return bool True if posts are available, false if end of loop.
     
    37793773     * @access public
    37803774     * @global object $comment Current comment.
    3781      * @uses do_action() Calls 'comment_loop_start' hook when first comment is processed.
    37823775     */
    37833776    public function the_comment() {
     
    42814274     *
    42824275     * @since 3.1.0
    4283      * @uses is_home()
    4284      * @uses get_option()
    42854276     *
    42864277     * @return bool True, if front of site.
     
    46894680 *
    46904681 * @param object $post Post data.
    4691  * @uses do_action_ref_array() Calls 'the_post'
    46924682 * @return bool True when finished.
    46934683 */
Note: See TracChangeset for help on using the changeset viewer.