Make WordPress Core

Changeset 32643


Ignore:
Timestamp:
05/29/2015 02:05:26 AM (9 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.

Location:
trunk/src/wp-admin
Files:
12 edited

Legend:

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

    r32642 r32643  
    10051005 * that the user has the required capability as well.
    10061006 *
     1007 * @global array $menu
     1008 * @global array $admin_page_hooks
     1009 * @global array $_registered_pages
     1010 * @global array $_parent_pages
     1011 *
    10071012 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
    10081013 * @param string $menu_title The text to be used for the menu
     
    10631068 * that the user has the required capability as well.
    10641069 *
     1070 * @global int $_wp_last_object_menu
     1071 *
    10651072 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
    10661073 * @param string $menu_title The text to be used for the menu
     
    10891096 * that the user has the required capability as well.
    10901097 *
     1098 * @global int $_wp_last_utility_menu
     1099 *
    10911100 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
    10921101 * @param string $menu_title The text to be used for the menu
     
    11151124 * that the user has the required capability as well.
    11161125 *
     1126 * @global array $submenu
     1127 * @global array $menu
     1128 * @global type $_wp_real_parent_file
     1129 * @global bool $_wp_submenu_nopriv
     1130 * @global array $_registered_pages
     1131 * @global array $_parent_pages
     1132 *
    11171133 * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page)
    11181134 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    11251141 */
    11261142function add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
    1127     global $submenu;
    1128     global $menu;
    1129     global $_wp_real_parent_file;
    1130     global $_wp_submenu_nopriv;
    1131     global $_registered_pages;
    1132     global $_parent_pages;
     1143    global $submenu, $menu, $_wp_real_parent_file, $_wp_submenu_nopriv,
     1144        $_registered_pages, $_parent_pages;
    11331145
    11341146    $menu_slug = plugin_basename( $menu_slug );
     
    14161428 * @since 3.1.0
    14171429 *
     1430 * @global array $menu
     1431 *
    14181432 * @param string $menu_slug The slug of the menu
    14191433 * @return array|bool The removed menu on success, False if not found
     
    14371451 * @since 3.1.0
    14381452 *
     1453 * @global array $submenu
     1454 *
    14391455 * @param string $menu_slug The slug for the parent menu
    14401456 * @param string $submenu_slug The slug of the submenu
     
    14631479 *
    14641480 * @since 3.0.0
     1481 *
     1482 * @global array $_parent_pages
    14651483 *
    14661484 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu)
     
    14931511// Pluggable Menu Support -- Private
    14941512//
    1495 
     1513/**
     1514 *
     1515 * @global string $parent_file
     1516 * @global array $menu
     1517 * @global array $submenu
     1518 * @global string $pagenow
     1519 * @global string $typenow
     1520 * @global string $plugin_page
     1521 * @global string $_wp_real_parent_file
     1522 * @global array $_wp_menu_nopriv
     1523 * @global array $_wp_submenu_nopriv
     1524 */
    14961525function get_admin_page_parent( $parent = '' ) {
    1497     global $parent_file;
    1498     global $menu;
    1499     global $submenu;
    1500     global $pagenow;
    1501     global $typenow;
    1502     global $plugin_page;
    1503     global $_wp_real_parent_file;
    1504     global $_wp_menu_nopriv;
    1505     global $_wp_submenu_nopriv;
     1526    global $parent_file, $menu, $submenu, $pagenow, $typenow,
     1527        $plugin_page, $_wp_real_parent_file, $_wp_menu_nopriv, $_wp_submenu_nopriv;
    15061528
    15071529    if ( !empty ( $parent ) && 'admin.php' != $parent ) {
     
    15571579}
    15581580
     1581/**
     1582 *
     1583 * @global string $title
     1584 * @global array $menu
     1585 * @global array $submenu
     1586 * @global string $pagenow
     1587 * @global string $plugin_page
     1588 * @global string $typenow
     1589 */
    15591590function get_admin_page_title() {
    1560     global $title;
    1561     global $menu;
    1562     global $submenu;
    1563     global $pagenow;
    1564     global $plugin_page;
    1565     global $typenow;
     1591    global $title, $menu, $submenu, $pagenow, $plugin_page, $typenow;
    15661592
    15671593    if ( ! empty ( $title ) )
     
    16411667}
    16421668
     1669/**
     1670 *
     1671 * @global array $admin_page_hooks
     1672 * @param string $plugin_page
     1673 * @param string $parent_page
     1674 */
    16431675function get_plugin_page_hookname( $plugin_page, $parent_page ) {
    16441676    global $admin_page_hooks;
     
    16621694}
    16631695
     1696/**
     1697 *
     1698 * @global string $pagenow
     1699 * @global array $menu
     1700 * @global array $submenu
     1701 * @global array $_wp_menu_nopriv
     1702 * @global array $_wp_submenu_nopriv
     1703 * @global string $plugin_page
     1704 * @global array $_registered_pages
     1705 */
    16641706function user_can_access_admin_page() {
    1665     global $pagenow;
    1666     global $menu;
    1667     global $submenu;
    1668     global $_wp_menu_nopriv;
    1669     global $_wp_submenu_nopriv;
    1670     global $plugin_page;
    1671     global $_registered_pages;
     1707    global $pagenow, $menu, $submenu, $_wp_menu_nopriv, $_wp_submenu_nopriv,
     1708        $plugin_page, $_registered_pages;
    16721709
    16731710    $parent = get_admin_page_parent();
     
    17421779 * @since 2.7.0
    17431780 *
     1781 * @global array $new_whitelist_options
     1782 *
    17441783 * @param string $option_group A settings group name. Should correspond to a whitelisted option key name.
    17451784 *  Default whitelisted option key names include "general," "discussion," and "reading," among others.
     
    17691808 *
    17701809 * @since 2.7.0
     1810 *
     1811 * @global array $new_whitelist_options
    17711812 *
    17721813 * @param string   $option_group
     
    17991840 * @since 2.7.0
    18001841 *
     1842 * @global array $new_whitelist_options
     1843 *
    18011844 * @param array $options
    18021845 * @return array
     
    18161859 *
    18171860 * @since 2.7.0
     1861 *
     1862 * @global array $whitelist_options
    18181863 *
    18191864 * @param array        $new_options
     
    18481893 * @since 2.7.0
    18491894 *
     1895 * @global array $whitelist_options
     1896 *
    18501897 * @param array        $del_options
    18511898 * @param string|array $options
  • 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
  • trunk/src/wp-admin/includes/schema.php

    r32642 r32643  
    99 */
    1010
    11 // Declare these as global in case schema.php is included from a function.
     11/**
     12 * Declare these as global in case schema.php is included from a function.
     13 *
     14 * @global wpdb   $wpdb
     15 * @global array  $wp_queries
     16 * @global string $charset_collate
     17 */
    1218global $wpdb, $wp_queries, $charset_collate;
    1319
    1420/**
    1521 * The database character collate.
    16  * @var string
    17  * @global string
    18  * @name $charset_collate
    1922 */
    2023$charset_collate = $wpdb->get_charset_collate();
     
    2427 *
    2528 * @since 3.3.0
     29 *
     30 * @global wpdb $wpdb
    2631 *
    2732 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all.
     
    864869 * @since 3.0.0
    865870 *
     871 * @global wpdb       $wpdb
     872 * @global object     $current_site
     873 * @global int        $wp_db_version
     874 * @global WP_Rewrite $wp_rewrite
     875 *
    866876 * @param int $network_id ID of network to populate.
    867877 * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful,
  • trunk/src/wp-admin/includes/screen.php

    r31696 r32643  
    6060 *
    6161 * @since 2.7.0
     62 *
     63 * @global array $wp_meta_boxes
    6264 *
    6365 * @param WP_Screen $screen
     
    163165 * @since 3.1.0
    164166 *
     167 * @global WP_Screen $current_screen
     168 *
    165169 * @return WP_Screen Current screen object
    166170 */
     
    368372     * @since 3.3.0
    369373     * @access public
     374     *
     375     * @global string $hook_suffix
    370376     *
    371377     * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
     
    530536     * @see set_current_screen()
    531537     * @since 3.3.0
     538     *
     539     * @global WP_Screen $current_screen
     540     * @global string    $taxnow
     541     * @global string    $typenow
    532542     */
    533543    public function set_current_screen() {
     
    788798     *
    789799     * @since 3.3.0
     800     *
     801     * @global string $screen_layout_columns
    790802     */
    791803    public function render_screen_meta() {
     
    960972    }
    961973
     974    /**
     975     *
     976     * @global array $wp_meta_boxes
     977     *
     978     * @return bool
     979     */
    962980    public function show_screen_options() {
    963981        global $wp_meta_boxes;
     
    10181036     *
    10191037     * @since 3.3.0
     1038     *
     1039     * @global array $wp_meta_boxes
    10201040     */
    10211041    public function render_screen_options() {
  • trunk/src/wp-admin/includes/template.php

    r32175 r32643  
    436436 *
    437437 * @since 2.7.0
     438 *
     439 * @global WP_List_Table $wp_list_table
    438440 *
    439441 * @param int $position
     
    657659 * @since 1.2.0
    658660 *
     661 * @global wpdb $wpdb
     662 *
    659663 * @param WP_Post $post Optional. The post being edited.
    660664 */
     
    738742 * @since 0.71
    739743 *
     744 * @global WP_Locale $wp_locale
     745 * @global object    $comment
     746 *
    740747 * @param int|bool $edit      Accepts 1|true for editing the date, 0|false for adding the date.
    741748 * @param int|bool $for_post  Accepts 1|true for applying the date to a post, 0|false for a comment.
     
    839846 *
    840847 * @since 1.5.0
     848 *
     849 * @global wpdb $wpdb
    841850 *
    842851 * @param int $default Optional. The default page ID to be pre-selected. Default 0.
     
    934943 *
    935944 * @since 2.5.0
     945 *
     946 * @global array $wp_meta_boxes
    936947 *
    937948 * @param string           $id            String for use in the 'id' attribute of tags.
     
    10231034 * @since 2.5.0
    10241035 *
     1036 * @global array $wp_meta_boxes
     1037 *
    10251038 * @staticvar bool $already_sorted
    10261039 * @param string|WP_Screen $screen Screen identifier
     
    10901103 *
    10911104 * @since 2.6.0
     1105 *
     1106 * @global array $wp_meta_boxes
    10921107 *
    10931108 * @param string $id String for use in the 'id' attribute of tags.
     
    15771592 * @since 2.7.0
    15781593 *
     1594 * @global string    $hook_suffix
     1595 * @global string    $admin_body_class
     1596 * @global WP_Locale $wp_locale
     1597 *
    15791598 * @param string $title      Optional. Title of the Iframe page. Default empty.
    15801599 * @param bool   $deprecated Not used.
     
    16381657$admin_body_classes = apply_filters( 'admin_body_class', '' );
    16391658?>
    1640 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-admin wp-core-ui no-js iframe <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
     1659<body<?php
     1660/**
     1661 * @global string $body_id
     1662 */
     1663if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-admin wp-core-ui no-js iframe <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
    16411664<script type="text/javascript">
    16421665(function(){
     
    19221945}
    19231946
     1947/**
     1948 *
     1949 * @global bool $is_IE
     1950 */
    19241951function _wp_admin_html_begin() {
    19251952    global $is_IE;
     
    21082135    }
    21092136
     2137    /**
     2138     * @static
     2139     *
     2140     * @global bool $_wp_editor_expand
     2141     */
    21102142    public static function pointer_wp410_dfw() {
    21112143        // Don't show when editor-scrolling is not used.
  • trunk/src/wp-admin/includes/theme-install.php

    r31200 r32643  
    151151 *
    152152 * @deprecated 3.4.0
     153 *
     154 * @global WP_Theme_Install_List_Table $wp_list_table
    153155 */
    154156function display_theme( $theme ) {
     
    166168 *
    167169 * @since 2.8.0
     170 *
     171 * @global WP_Theme_Install_List_Table $wp_list_table
    168172 */
    169173function display_themes() {
     
    186190 *
    187191 * @since 2.8.0
     192 *
     193 * @global WP_Theme_Install_List_Table $wp_list_table
    188194 */
    189195function install_theme_information() {
  • trunk/src/wp-admin/includes/theme.php

    r32264 r32643  
    1111 *
    1212 * @since 2.8.0
     13 *
     14 * @global WP_Filesystem_Base $wp_filesystem Subclass
    1315 *
    1416 * @param string $stylesheet Stylesheet of the theme to delete
  • trunk/src/wp-admin/includes/translation-install.php

    r31447 r32643  
    124124 *
    125125 * @since 4.0.0
     126 *
     127 * @global string $wp_local_package
    126128 *
    127129 * @param array $languages Array of available languages (populated via the Translation API).
  • trunk/src/wp-admin/includes/update-core.php

    r32385 r32643  
    769769 * @since 2.7.0
    770770 *
     771 * @global WP_Filesystem_Base $wp_filesystem
     772 * @global array              $_old_files
     773 * @global array              $_new_bundled_files
     774 * @global wpdb               $wpdb
     775 * @global string             $wp_version
     776 * @global string             $required_php_version
     777 * @global string             $required_mysql_version
     778 *
    771779 * @param string $from New release unzipped path.
    772780 * @param string $to Path to old WordPress installation.
     
    811819    }
    812820
    813     // Import $wp_version, $required_php_version, and $required_mysql_version from the new version
    814     // $wp_filesystem->wp_content_dir() returned unslashed pre-2.8
     821
     822    /**
     823     * Import $wp_version, $required_php_version, and $required_mysql_version from the new version
     824     * $wp_filesystem->wp_content_dir() returned unslashed pre-2.8
     825     *
     826     * @global string $wp_version
     827     * @global string $required_php_version
     828     * @global string $required_mysql_version
     829     */
    815830    global $wp_version, $required_php_version, $required_mysql_version;
    816831
     
    11021117 * @see copy_dir()
    11031118 *
     1119 * @global WP_Filesystem_Base $wp_filesystem
     1120 *
    11041121 * @param string $from source directory
    11051122 * @param string $to destination directory
     
    11571174 * @since 3.3.0
    11581175 *
     1176 * @global string $wp_version
     1177 * @global string $pagenow
     1178 * @global string $action
    11591179 */
    11601180function _redirect_to_about_wordpress( $new_version ) {
     
    11971217 *
    11981218 * @since 4.2.2
     1219 *
     1220 * @global array              $wp_theme_directories
     1221 * @global WP_Filesystem_Base $wp_filesystem
    11991222 */
    12001223function _upgrade_422_remove_genericons() {
  • trunk/src/wp-admin/includes/update.php

    r32116 r32643  
    191191add_filter( 'update_footer', 'core_update_footer' );
    192192
     193/**
     194 *
     195 * @global string $pagenow
     196 * @return false|void
     197 */
    193198function update_nag() {
    194199    if ( is_multisite() && !current_user_can('update_core') )
     
    401406}
    402407
     408/**
     409 *
     410 * @global int $upgrading
     411 * @return false|void
     412 */
    403413function maintenance_nag() {
    404414    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
  • trunk/src/wp-admin/includes/upgrade.php

    r32456 r32643  
    118118 *
    119119 * @since 2.1.0
     120 *
     121 * @global wpdb       $wpdb
     122 * @global WP_Rewrite $wp_rewrite
     123 * @global string     $table_prefix
    120124 *
    121125 * @param int $user_id User ID.
     
    386390 * @since 2.1.0
    387391 *
     392 * @global int  $wp_current_db_version
     393 * @global int  $wp_db_version
     394 * @global wpdb $wpdb
     395 *
    388396 * @return null If no update is necessary or site isn't completely installed, null.
    389397 */
     
    436444 * @since 1.0.1
    437445 *
     446 * @global int $wp_current_db_version
     447 * @global int $wp_db_version
     448 *
    438449 * @return null If no update is necessary, null.
    439450 */
     
    546557 *
    547558 * @since 1.0.0
     559 *
     560 * @global wpdb $wpdb
    548561 */
    549562function upgrade_100() {
     
    602615 *
    603616 * @since 1.0.1
     617 *
     618 * @global wpdb $wpdb
    604619 */
    605620function upgrade_101() {
     
    620635 *
    621636 * @since 1.2.0
     637 *
     638 * @global wpdb $wpdb
    622639 */
    623640function upgrade_110() {
     
    680697 *
    681698 * @since 1.5.0
     699 *
     700 * @global wpdb $wpdb
    682701 */
    683702function upgrade_130() {
     
    764783 *
    765784 * @since 2.0.0
     785 *
     786 * @global wpdb $wpdb
     787 * @global int  $wp_current_db_version
    766788 */
    767789function upgrade_160() {
     
    847869 *
    848870 * @since 2.1.0
     871 *
     872 * @global wpdb $wpdb
     873 * @global int  $wp_current_db_version
    849874 */
    850875function upgrade_210() {
     
    891916 *
    892917 * @since 2.3.0
     918 *
     919 * @global wpdb $wpdb
     920 * @global int  $wp_current_db_version
    893921 */
    894922function upgrade_230() {
     
    10671095 *
    10681096 * @since 2.3.0
     1097 *
     1098 * @global wpdb $wpdb
    10691099 */
    10701100function upgrade_230_options_table() {
     
    10811111 *
    10821112 * @since 2.3.0
     1113 *
     1114 * @global wpdb $wpdb
    10831115 */
    10841116function upgrade_230_old_tables() {
     
    10931125 *
    10941126 * @since 2.2.0
     1127 *
     1128 * @global wpdb $wpdb
    10951129 */
    10961130function upgrade_old_slugs() {
     
    11041138 *
    11051139 * @since 2.5.0
     1140 *
     1141 * @global int $wp_current_db_version
    11061142 */
    11071143function upgrade_250() {
     
    11181154 *
    11191155 * @since 2.5.2
     1156 *
     1157 * @global wpdb $wpdb
    11201158 */
    11211159function upgrade_252() {
     
    11291167 *
    11301168 * @since 2.6.0
     1169 *
     1170 * @global int $wp_current_db_version
    11311171 */
    11321172function upgrade_260() {
     
    11411181 *
    11421182 * @since 2.7.0
     1183 *
     1184 * @global wpdb $wpdb
     1185 * @global int  $wp_current_db_version
    11431186 */
    11441187function upgrade_270() {
     
    11571200 *
    11581201 * @since 2.8.0
     1202 *
     1203 * @global int  $wp_current_db_version
     1204 * @global wpdb $wpdb
    11591205 */
    11601206function upgrade_280() {
     
    11841230 *
    11851231 * @since 2.9.0
     1232 *
     1233 * @global int $wp_current_db_version
    11861234 */
    11871235function upgrade_290() {
     
    12011249 *
    12021250 * @since 3.0.0
     1251 *
     1252 * @global int  $wp_current_db_version
     1253 * @global wpdb $wpdb
    12031254 */
    12041255function upgrade_300() {
     
    12431294 *
    12441295 * @since 3.3.0
     1296 *
     1297 * @global int   $wp_current_db_version
     1298 * @global wpdb  $wpdb
     1299 * @global array $wp_registered_widgets
     1300 * @global array $sidebars_widgets
    12451301 */
    12461302function upgrade_330() {
     
    13121368 *
    13131369 * @since 3.4.0
     1370 *
     1371 * @global int   $wp_current_db_version
     1372 * @global wpdb  $wpdb
    13141373 */
    13151374function upgrade_340() {
     
    13451404 *
    13461405 * @since 3.5.0
     1406 *
     1407 * @global int   $wp_current_db_version
     1408 * @global wpdb  $wpdb
    13471409 */
    13481410function upgrade_350() {
     
    13721434 *
    13731435 * @since 3.7.0
     1436 *
     1437 * @global int $wp_current_db_version
    13741438 */
    13751439function upgrade_370() {
     
    13841448 * @since 3.7.2
    13851449 * @since 3.8.0
     1450 *
     1451 * @global int $wp_current_db_version
    13861452 */
    13871453function upgrade_372() {
     
    13951461 *
    13961462 * @since 3.8.0
     1463 *
     1464 * @global int $wp_current_db_version
    13971465 */
    13981466function upgrade_380() {
     
    14071475 *
    14081476 * @since 4.0.0
     1477 *
     1478 * @global int $wp_current_db_version
    14091479 */
    14101480function upgrade_400() {
     
    14251495 *
    14261496 * @since 4.2.0
     1497 *
     1498 * @global int   $wp_current_db_version
     1499 * @global wpdb  $wpdb
    14271500 */
    14281501function upgrade_420() {
     
    14461519 *
    14471520 * @since 4.3.0
     1521 *
     1522 * @global int   $wp_current_db_version
     1523 * @global wpdb  $wpdb
    14481524 */
    14491525function upgrade_430() {
     
    14941570 *
    14951571 * @since 3.0.0
     1572 *
     1573 * @global int   $wp_current_db_version
     1574 * @global wpdb  $wpdb
    14961575 */
    14971576function upgrade_network() {
     
    16351714 * @since 1.0.0
    16361715 *
     1716 * @global wpdb  $wpdb
     1717 *
    16371718 * @param string $table_name Database table name to create.
    16381719 * @param string $create_ddl SQL statement to create table.
     
    16621743 *
    16631744 * @since 1.0.1
     1745 *
     1746 * @global wpdb  $wpdb
    16641747 *
    16651748 * @param string $table Database table name.
     
    16841767 * @since 1.0.1
    16851768 *
     1769 * @global wpdb  $wpdb
     1770 *
    16861771 * @param string $table Database table name.
    16871772 * @param string $index Database table index column.
     
    17001785 * @since 1.3.0
    17011786 *
     1787 * @global wpdb  $wpdb
     1788 *
    17021789 * @param string $table_name  The table name to modify.
    17031790 * @param string $column_name The column name to add to the table.
     
    17291816 *
    17301817 * @since 4.2.0
     1818 *
     1819 * @global wpdb  $wpdb
    17311820 *
    17321821 * @param string $table The table to convert.
     
    17711860 * @since 1.2.0
    17721861 *
     1862 * @global wpdb  $wpdb
     1863 *
    17731864 * @return stdClass List of options.
    17741865 */
     
    17931884 * @access private
    17941885 *
     1886 * @global wpdb  $wpdb
     1887 *
    17951888 * @param string $setting Option name.
    17961889 * @return mixed
     
    18511944 *
    18521945 * @since 1.5.0
     1946 *
     1947 * @global wpdb  $wpdb
    18531948 *
    18541949 * @param string|array $queries Optional. The query to run. Can be multiple queries
     
    23762471 *
    23772472 * @since 2.1.0
     2473 *
     2474 * @global wpdb  $wpdb
    23782475 */
    23792476function wp_check_mysql_version() {
     
    24052502 *
    24062503 * @since 3.5.0
     2504 *
     2505 * @global int  $wp_current_db_version
     2506 * @global wpdb $wpdb
    24072507 */
    24082508function maybe_disable_link_manager() {
     
    24172517 *
    24182518 * @since 2.9.0
     2519 *
     2520 * @global int  $wp_current_db_version
     2521 * @global wpdb $wpdb
    24192522 */
    24202523function pre_schema_upgrade() {
     
    24732576 * @since 3.0.0
    24742577 *
     2578 * @global wpdb   $wpdb
     2579 * @global string $charset_collate
    24752580 */
    24762581if ( !function_exists( 'install_global_terms' ) ) :
  • trunk/src/wp-admin/menu.php

    r31673 r32643  
    1919 *
    2020 * @global array $menu
    21  * @name $menu
    22  * @var array
    2321 */
    2422
Note: See TracChangeset for help on using the changeset viewer.