Make WordPress Core


Ignore:
Timestamp:
05/29/2015 02:05:26 AM (10 years ago)
Author:
wonderboymusic
Message:

Add @global annotations to (the rest of the?) wp-admin/* files.

Does not include list table file changes.

See #32444.

File:
1 edited

Legend:

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

    r32019 r32643  
    174174 * @since 1.5.0
    175175 *
     176 * @global wpdb $wpdb
     177 *
    176178 * @param array $post_data Optional.
    177179 * @return int Post ID.
     
    401403 *
    402404 * @since 2.7.0
     405 *
     406 * @global wpdb $wpdb
    403407 *
    404408 * @param array $post_data Optional, the array of post data to process if not provided will use $_POST superglobal.
     
    655659 * @since 2.0.0
    656660 *
     661 * @global wpdb $wpdb
     662 *
    657663 * @param string $title Post title
    658664 * @param string $content Optional post content
     
    695701 *
    696702 * @since 2.1.0
     703 *
     704 * @global WP_User $current_user
    697705 *
    698706 * @return int|WP_Error
     
    835843 * @since 1.2.0
    836844 *
     845 * @global wpdb $wpdb
     846 *
    837847 * @return mixed
    838848 */
     
    865875 *
    866876 * @since 1.2.0
     877 *
     878 * @global wpdb $wpdb
    867879 *
    868880 * @param int $postid
     
    10551067 *
    10561068 * @since 2.5.0
     1069 *
     1070 * @global wpdb $wpdb
    10571071 *
    10581072 * @param string $type
     
    13381352 *
    13391353 * @since 2.9.0
     1354 *
     1355 * @global int   $content_width
     1356 * @global array $_wp_additional_image_sizes
    13401357 *
    13411358 * @param int $thumbnail_id ID of the attachment used for thumbnail
Note: See TracChangeset for help on using the changeset viewer.