Make WordPress Core


Ignore:
Timestamp:
05/28/2015 09:40:27 PM (10 years ago)
Author:
wonderboymusic
Message:

Add @global annotations for wp-admin/*.

See #32444.

File:
1 edited

Legend:

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

    r32545 r32642  
    3737 * @since 2.5.0
    3838 *
     39 * @global wpdb $wpdb
     40 *
    3941 * @param array $tabs
    4042 * @return array $tabs with gallery if post has image attachment
     
    6870 *
    6971 * @since 2.5.0
     72 *
     73 * @global string $redir_tab
    7074 */
    7175function the_media_upload_tabs() {
     
    433437 *
    434438 * @since 2.5.0
     439 *
     440 * @global int $body_id
    435441 *
    436442 * @param string|callable $content_func
     
    527533 *
    528534 * @since 2.5.0
     535 *
     536 * @global int $post_ID
    529537 *
    530538 * @param string $editor_id
     
    12891297 * @since 2.5.0
    12901298 *
     1299 * @global WP_Query $wp_the_query
     1300 *
    12911301 * @param int $post_id Optional. Post ID.
    12921302 * @param array $errors Errors for attachment, if any.
     
    13221332 *
    13231333 * @since 2.5.0
     1334 *
     1335 * @global string $redir_tab
    13241336 *
    13251337 * @param int $attachment_id Attachment ID for modification.
     
    17371749 * @since 2.5.0
    17381750 *
     1751 * @global string $type
     1752 * @global string $tab
     1753 * @global bool   $is_IE
     1754 * @global bool   $is_opera
     1755 *
    17391756 * @param array $errors
    17401757 */
     
    21352152 *
    21362153 * @since 2.5.0
     2154 *
     2155 * @global string $redir_tab
     2156 * @global string $type
     2157 * @global string $tab
    21372158 *
    21382159 * @param array $errors
     
    22812302 * @since 2.5.0
    22822303 *
     2304 * @global wpdb      $wpdb
     2305 * @global WP_Query  $wp_query
     2306 * @global WP_Locale $wp_locale
     2307 * @global string    $type
     2308 * @global string    $tab
     2309 * @global array     $post_mime_types
     2310 *
    22832311 * @param array $errors
    22842312 */
     
    25652593 *
    25662594 * @since 2.6.0
     2595 *
     2596 * @global int $post_ID
    25672597 */
    25682598function media_upload_flash_bypass() {
Note: See TracChangeset for help on using the changeset viewer.