Make WordPress Core

Changeset 35013


Ignore:
Timestamp:
10/10/2015 03:44:16 PM (9 years ago)
Author:
wonderboymusic
Message:

Docs: some @global object vernaculars should be converted to the actual object type.

See #33491.

Location:
trunk/src
Files:
7 edited

Legend:

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

    r34979 r35013  
    318318 * @since 3.0.0
    319319 *
    320  * @global object $errors WP_Error object.
    321  * @global object $wpdb   WordPress database object.
     320 * @global WP_Error $errors WP_Error object.
     321 * @global wpdb    $wpdb   WordPress database object.
    322322 */
    323323function send_confirmation_on_profile_email() {
  • trunk/src/wp-includes/admin-bar.php

    r34903 r35013  
    531531 * @since 3.1.0
    532532 *
    533  * @global object   $tag
     533 * @global WP_Term  $tag
    534534 * @global WP_Query $wp_the_query
    535535 *
  • trunk/src/wp-includes/class-walker-comment.php

    r34993 r35013  
    155155     * @see wp_list_comments()
    156156     *
    157      * @global int    $comment_depth
    158      * @global object $comment
     157     * @global int        $comment_depth
     158     * @global WP_Comment $comment
    159159     *
    160160     * @param string $output  Passed by reference. Used to append additional content.
  • trunk/src/wp-includes/comment-functions.php

    r34815 r35013  
    163163 * @since 2.0.0
    164164 *
    165  * @global object $comment
     165 * @global WP_Comment $comment
    166166 *
    167167 * @param WP_Comment|string|int $comment Comment to retrieve.
  • trunk/src/wp-includes/comment-template.php

    r34871 r35013  
    12201220 * @since 1.5.0
    12211221 *
    1222  * @global WP_Query $wp_query
    1223  * @global WP_Post  $post
    1224  * @global wpdb     $wpdb
    1225  * @global int      $id
    1226  * @global object  $comment
    1227  * @global string   $user_login
    1228  * @global int      $user_ID
    1229  * @global string   $user_identity
    1230  * @global bool     $overridden_cpage
     1222 * @global WP_Query   $wp_query
     1223 * @global WP_Post    $post
     1224 * @global wpdb       $wpdb
     1225 * @global int        $id
     1226 * @global WP_Comment $comment
     1227 * @global string     $user_login
     1228 * @global int        $user_ID
     1229 * @global string     $user_identity
     1230 * @global bool       $overridden_cpage
    12311231 *
    12321232 * @param string $file              Optional. The file to load. Default '/comments.php'.
  • trunk/src/wp-includes/template.php

    r34800 r35013  
    539539 * @global WP         $wp
    540540 * @global int        $id
    541  * @global object    $comment
     541 * @global WP_Comment $comment
    542542 * @global int        $user_ID
    543543 *
  • trunk/src/wp-settings.php

    r34961 r35013  
    263263/**
    264264 * WordPress Query object
    265  * @global object $wp_the_query
     265 * @global WP_Query $wp_the_query
    266266 * @since 2.0.0
    267267 */
     
    271271 * Holds the reference to @see $wp_the_query
    272272 * Use this global for WordPress queries
    273  * @global object $wp_query
     273 * @global WP_Query $wp_query
    274274 * @since 1.5.0
    275275 */
     
    278278/**
    279279 * Holds the WordPress Rewrite object for creating pretty URLs
    280  * @global object $wp_rewrite
     280 * @global WP_Rewrite $wp_rewrite
    281281 * @since 1.5.0
    282282 */
     
    285285/**
    286286 * WordPress Object
    287  * @global object $wp
     287 * @global WP $wp
    288288 * @since 2.0.0
    289289 */
     
    292292/**
    293293 * WordPress Widget Factory Object
    294  * @global object $wp_widget_factory
     294 * @global WP_Widget_Factory $wp_widget_factory
    295295 * @since 2.8.0
    296296 */
     
    299299/**
    300300 * WordPress User Roles
    301  * @global object $wp_roles
     301 * @global WP_Roles $wp_roles
    302302 * @since 2.0.0
    303303 */
     
    328328/**
    329329 * WordPress Locale object for loading locale domain date and various strings.
    330  * @global object $wp_locale
     330 * @global WP_Locale $wp_locale
    331331 * @since 2.1.0
    332332 */
Note: See TracChangeset for help on using the changeset viewer.