Changeset 32643
- Timestamp:
- 05/29/2015 02:05:26 AM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r32642 r32643 1005 1005 * that the user has the required capability as well. 1006 1006 * 1007 * @global array $menu 1008 * @global array $admin_page_hooks 1009 * @global array $_registered_pages 1010 * @global array $_parent_pages 1011 * 1007 1012 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected 1008 1013 * @param string $menu_title The text to be used for the menu … … 1063 1068 * that the user has the required capability as well. 1064 1069 * 1070 * @global int $_wp_last_object_menu 1071 * 1065 1072 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected 1066 1073 * @param string $menu_title The text to be used for the menu … … 1089 1096 * that the user has the required capability as well. 1090 1097 * 1098 * @global int $_wp_last_utility_menu 1099 * 1091 1100 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected 1092 1101 * @param string $menu_title The text to be used for the menu … … 1115 1124 * that the user has the required capability as well. 1116 1125 * 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 * 1117 1133 * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page) 1118 1134 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected … … 1125 1141 */ 1126 1142 function 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; 1133 1145 1134 1146 $menu_slug = plugin_basename( $menu_slug ); … … 1416 1428 * @since 3.1.0 1417 1429 * 1430 * @global array $menu 1431 * 1418 1432 * @param string $menu_slug The slug of the menu 1419 1433 * @return array|bool The removed menu on success, False if not found … … 1437 1451 * @since 3.1.0 1438 1452 * 1453 * @global array $submenu 1454 * 1439 1455 * @param string $menu_slug The slug for the parent menu 1440 1456 * @param string $submenu_slug The slug of the submenu … … 1463 1479 * 1464 1480 * @since 3.0.0 1481 * 1482 * @global array $_parent_pages 1465 1483 * 1466 1484 * @param string $menu_slug The slug name to refer to this menu by (should be unique for this menu) … … 1493 1511 // Pluggable Menu Support -- Private 1494 1512 // 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 */ 1496 1525 function 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; 1506 1528 1507 1529 if ( !empty ( $parent ) && 'admin.php' != $parent ) { … … 1557 1579 } 1558 1580 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 */ 1559 1590 function 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; 1566 1592 1567 1593 if ( ! empty ( $title ) ) … … 1641 1667 } 1642 1668 1669 /** 1670 * 1671 * @global array $admin_page_hooks 1672 * @param string $plugin_page 1673 * @param string $parent_page 1674 */ 1643 1675 function get_plugin_page_hookname( $plugin_page, $parent_page ) { 1644 1676 global $admin_page_hooks; … … 1662 1694 } 1663 1695 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 */ 1664 1706 function 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; 1672 1709 1673 1710 $parent = get_admin_page_parent(); … … 1742 1779 * @since 2.7.0 1743 1780 * 1781 * @global array $new_whitelist_options 1782 * 1744 1783 * @param string $option_group A settings group name. Should correspond to a whitelisted option key name. 1745 1784 * Default whitelisted option key names include "general," "discussion," and "reading," among others. … … 1769 1808 * 1770 1809 * @since 2.7.0 1810 * 1811 * @global array $new_whitelist_options 1771 1812 * 1772 1813 * @param string $option_group … … 1799 1840 * @since 2.7.0 1800 1841 * 1842 * @global array $new_whitelist_options 1843 * 1801 1844 * @param array $options 1802 1845 * @return array … … 1816 1859 * 1817 1860 * @since 2.7.0 1861 * 1862 * @global array $whitelist_options 1818 1863 * 1819 1864 * @param array $new_options … … 1848 1893 * @since 2.7.0 1849 1894 * 1895 * @global array $whitelist_options 1896 * 1850 1897 * @param array $del_options 1851 1898 * @param string|array $options -
trunk/src/wp-admin/includes/post.php
r32019 r32643 174 174 * @since 1.5.0 175 175 * 176 * @global wpdb $wpdb 177 * 176 178 * @param array $post_data Optional. 177 179 * @return int Post ID. … … 401 403 * 402 404 * @since 2.7.0 405 * 406 * @global wpdb $wpdb 403 407 * 404 408 * @param array $post_data Optional, the array of post data to process if not provided will use $_POST superglobal. … … 655 659 * @since 2.0.0 656 660 * 661 * @global wpdb $wpdb 662 * 657 663 * @param string $title Post title 658 664 * @param string $content Optional post content … … 695 701 * 696 702 * @since 2.1.0 703 * 704 * @global WP_User $current_user 697 705 * 698 706 * @return int|WP_Error … … 835 843 * @since 1.2.0 836 844 * 845 * @global wpdb $wpdb 846 * 837 847 * @return mixed 838 848 */ … … 865 875 * 866 876 * @since 1.2.0 877 * 878 * @global wpdb $wpdb 867 879 * 868 880 * @param int $postid … … 1055 1067 * 1056 1068 * @since 2.5.0 1069 * 1070 * @global wpdb $wpdb 1057 1071 * 1058 1072 * @param string $type … … 1338 1352 * 1339 1353 * @since 2.9.0 1354 * 1355 * @global int $content_width 1356 * @global array $_wp_additional_image_sizes 1340 1357 * 1341 1358 * @param int $thumbnail_id ID of the attachment used for thumbnail -
trunk/src/wp-admin/includes/schema.php
r32642 r32643 9 9 */ 10 10 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 */ 12 18 global $wpdb, $wp_queries, $charset_collate; 13 19 14 20 /** 15 21 * The database character collate. 16 * @var string17 * @global string18 * @name $charset_collate19 22 */ 20 23 $charset_collate = $wpdb->get_charset_collate(); … … 24 27 * 25 28 * @since 3.3.0 29 * 30 * @global wpdb $wpdb 26 31 * 27 32 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all. … … 864 869 * @since 3.0.0 865 870 * 871 * @global wpdb $wpdb 872 * @global object $current_site 873 * @global int $wp_db_version 874 * @global WP_Rewrite $wp_rewrite 875 * 866 876 * @param int $network_id ID of network to populate. 867 877 * @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 60 60 * 61 61 * @since 2.7.0 62 * 63 * @global array $wp_meta_boxes 62 64 * 63 65 * @param WP_Screen $screen … … 163 165 * @since 3.1.0 164 166 * 167 * @global WP_Screen $current_screen 168 * 165 169 * @return WP_Screen Current screen object 166 170 */ … … 368 372 * @since 3.3.0 369 373 * @access public 374 * 375 * @global string $hook_suffix 370 376 * 371 377 * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen. … … 530 536 * @see set_current_screen() 531 537 * @since 3.3.0 538 * 539 * @global WP_Screen $current_screen 540 * @global string $taxnow 541 * @global string $typenow 532 542 */ 533 543 public function set_current_screen() { … … 788 798 * 789 799 * @since 3.3.0 800 * 801 * @global string $screen_layout_columns 790 802 */ 791 803 public function render_screen_meta() { … … 960 972 } 961 973 974 /** 975 * 976 * @global array $wp_meta_boxes 977 * 978 * @return bool 979 */ 962 980 public function show_screen_options() { 963 981 global $wp_meta_boxes; … … 1018 1036 * 1019 1037 * @since 3.3.0 1038 * 1039 * @global array $wp_meta_boxes 1020 1040 */ 1021 1041 public function render_screen_options() { -
trunk/src/wp-admin/includes/template.php
r32175 r32643 436 436 * 437 437 * @since 2.7.0 438 * 439 * @global WP_List_Table $wp_list_table 438 440 * 439 441 * @param int $position … … 657 659 * @since 1.2.0 658 660 * 661 * @global wpdb $wpdb 662 * 659 663 * @param WP_Post $post Optional. The post being edited. 660 664 */ … … 738 742 * @since 0.71 739 743 * 744 * @global WP_Locale $wp_locale 745 * @global object $comment 746 * 740 747 * @param int|bool $edit Accepts 1|true for editing the date, 0|false for adding the date. 741 748 * @param int|bool $for_post Accepts 1|true for applying the date to a post, 0|false for a comment. … … 839 846 * 840 847 * @since 1.5.0 848 * 849 * @global wpdb $wpdb 841 850 * 842 851 * @param int $default Optional. The default page ID to be pre-selected. Default 0. … … 934 943 * 935 944 * @since 2.5.0 945 * 946 * @global array $wp_meta_boxes 936 947 * 937 948 * @param string $id String for use in the 'id' attribute of tags. … … 1023 1034 * @since 2.5.0 1024 1035 * 1036 * @global array $wp_meta_boxes 1037 * 1025 1038 * @staticvar bool $already_sorted 1026 1039 * @param string|WP_Screen $screen Screen identifier … … 1090 1103 * 1091 1104 * @since 2.6.0 1105 * 1106 * @global array $wp_meta_boxes 1092 1107 * 1093 1108 * @param string $id String for use in the 'id' attribute of tags. … … 1577 1592 * @since 2.7.0 1578 1593 * 1594 * @global string $hook_suffix 1595 * @global string $admin_body_class 1596 * @global WP_Locale $wp_locale 1597 * 1579 1598 * @param string $title Optional. Title of the Iframe page. Default empty. 1580 1599 * @param bool $deprecated Not used. … … 1638 1657 $admin_body_classes = apply_filters( 'admin_body_class', '' ); 1639 1658 ?> 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 */ 1663 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; ?>"> 1641 1664 <script type="text/javascript"> 1642 1665 (function(){ … … 1922 1945 } 1923 1946 1947 /** 1948 * 1949 * @global bool $is_IE 1950 */ 1924 1951 function _wp_admin_html_begin() { 1925 1952 global $is_IE; … … 2108 2135 } 2109 2136 2137 /** 2138 * @static 2139 * 2140 * @global bool $_wp_editor_expand 2141 */ 2110 2142 public static function pointer_wp410_dfw() { 2111 2143 // Don't show when editor-scrolling is not used. -
trunk/src/wp-admin/includes/theme-install.php
r31200 r32643 151 151 * 152 152 * @deprecated 3.4.0 153 * 154 * @global WP_Theme_Install_List_Table $wp_list_table 153 155 */ 154 156 function display_theme( $theme ) { … … 166 168 * 167 169 * @since 2.8.0 170 * 171 * @global WP_Theme_Install_List_Table $wp_list_table 168 172 */ 169 173 function display_themes() { … … 186 190 * 187 191 * @since 2.8.0 192 * 193 * @global WP_Theme_Install_List_Table $wp_list_table 188 194 */ 189 195 function install_theme_information() { -
trunk/src/wp-admin/includes/theme.php
r32264 r32643 11 11 * 12 12 * @since 2.8.0 13 * 14 * @global WP_Filesystem_Base $wp_filesystem Subclass 13 15 * 14 16 * @param string $stylesheet Stylesheet of the theme to delete -
trunk/src/wp-admin/includes/translation-install.php
r31447 r32643 124 124 * 125 125 * @since 4.0.0 126 * 127 * @global string $wp_local_package 126 128 * 127 129 * @param array $languages Array of available languages (populated via the Translation API). -
trunk/src/wp-admin/includes/update-core.php
r32385 r32643 769 769 * @since 2.7.0 770 770 * 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 * 771 779 * @param string $from New release unzipped path. 772 780 * @param string $to Path to old WordPress installation. … … 811 819 } 812 820 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 */ 815 830 global $wp_version, $required_php_version, $required_mysql_version; 816 831 … … 1102 1117 * @see copy_dir() 1103 1118 * 1119 * @global WP_Filesystem_Base $wp_filesystem 1120 * 1104 1121 * @param string $from source directory 1105 1122 * @param string $to destination directory … … 1157 1174 * @since 3.3.0 1158 1175 * 1176 * @global string $wp_version 1177 * @global string $pagenow 1178 * @global string $action 1159 1179 */ 1160 1180 function _redirect_to_about_wordpress( $new_version ) { … … 1197 1217 * 1198 1218 * @since 4.2.2 1219 * 1220 * @global array $wp_theme_directories 1221 * @global WP_Filesystem_Base $wp_filesystem 1199 1222 */ 1200 1223 function _upgrade_422_remove_genericons() { -
trunk/src/wp-admin/includes/update.php
r32116 r32643 191 191 add_filter( 'update_footer', 'core_update_footer' ); 192 192 193 /** 194 * 195 * @global string $pagenow 196 * @return false|void 197 */ 193 198 function update_nag() { 194 199 if ( is_multisite() && !current_user_can('update_core') ) … … 401 406 } 402 407 408 /** 409 * 410 * @global int $upgrading 411 * @return false|void 412 */ 403 413 function maintenance_nag() { 404 414 include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version -
trunk/src/wp-admin/includes/upgrade.php
r32456 r32643 118 118 * 119 119 * @since 2.1.0 120 * 121 * @global wpdb $wpdb 122 * @global WP_Rewrite $wp_rewrite 123 * @global string $table_prefix 120 124 * 121 125 * @param int $user_id User ID. … … 386 390 * @since 2.1.0 387 391 * 392 * @global int $wp_current_db_version 393 * @global int $wp_db_version 394 * @global wpdb $wpdb 395 * 388 396 * @return null If no update is necessary or site isn't completely installed, null. 389 397 */ … … 436 444 * @since 1.0.1 437 445 * 446 * @global int $wp_current_db_version 447 * @global int $wp_db_version 448 * 438 449 * @return null If no update is necessary, null. 439 450 */ … … 546 557 * 547 558 * @since 1.0.0 559 * 560 * @global wpdb $wpdb 548 561 */ 549 562 function upgrade_100() { … … 602 615 * 603 616 * @since 1.0.1 617 * 618 * @global wpdb $wpdb 604 619 */ 605 620 function upgrade_101() { … … 620 635 * 621 636 * @since 1.2.0 637 * 638 * @global wpdb $wpdb 622 639 */ 623 640 function upgrade_110() { … … 680 697 * 681 698 * @since 1.5.0 699 * 700 * @global wpdb $wpdb 682 701 */ 683 702 function upgrade_130() { … … 764 783 * 765 784 * @since 2.0.0 785 * 786 * @global wpdb $wpdb 787 * @global int $wp_current_db_version 766 788 */ 767 789 function upgrade_160() { … … 847 869 * 848 870 * @since 2.1.0 871 * 872 * @global wpdb $wpdb 873 * @global int $wp_current_db_version 849 874 */ 850 875 function upgrade_210() { … … 891 916 * 892 917 * @since 2.3.0 918 * 919 * @global wpdb $wpdb 920 * @global int $wp_current_db_version 893 921 */ 894 922 function upgrade_230() { … … 1067 1095 * 1068 1096 * @since 2.3.0 1097 * 1098 * @global wpdb $wpdb 1069 1099 */ 1070 1100 function upgrade_230_options_table() { … … 1081 1111 * 1082 1112 * @since 2.3.0 1113 * 1114 * @global wpdb $wpdb 1083 1115 */ 1084 1116 function upgrade_230_old_tables() { … … 1093 1125 * 1094 1126 * @since 2.2.0 1127 * 1128 * @global wpdb $wpdb 1095 1129 */ 1096 1130 function upgrade_old_slugs() { … … 1104 1138 * 1105 1139 * @since 2.5.0 1140 * 1141 * @global int $wp_current_db_version 1106 1142 */ 1107 1143 function upgrade_250() { … … 1118 1154 * 1119 1155 * @since 2.5.2 1156 * 1157 * @global wpdb $wpdb 1120 1158 */ 1121 1159 function upgrade_252() { … … 1129 1167 * 1130 1168 * @since 2.6.0 1169 * 1170 * @global int $wp_current_db_version 1131 1171 */ 1132 1172 function upgrade_260() { … … 1141 1181 * 1142 1182 * @since 2.7.0 1183 * 1184 * @global wpdb $wpdb 1185 * @global int $wp_current_db_version 1143 1186 */ 1144 1187 function upgrade_270() { … … 1157 1200 * 1158 1201 * @since 2.8.0 1202 * 1203 * @global int $wp_current_db_version 1204 * @global wpdb $wpdb 1159 1205 */ 1160 1206 function upgrade_280() { … … 1184 1230 * 1185 1231 * @since 2.9.0 1232 * 1233 * @global int $wp_current_db_version 1186 1234 */ 1187 1235 function upgrade_290() { … … 1201 1249 * 1202 1250 * @since 3.0.0 1251 * 1252 * @global int $wp_current_db_version 1253 * @global wpdb $wpdb 1203 1254 */ 1204 1255 function upgrade_300() { … … 1243 1294 * 1244 1295 * @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 1245 1301 */ 1246 1302 function upgrade_330() { … … 1312 1368 * 1313 1369 * @since 3.4.0 1370 * 1371 * @global int $wp_current_db_version 1372 * @global wpdb $wpdb 1314 1373 */ 1315 1374 function upgrade_340() { … … 1345 1404 * 1346 1405 * @since 3.5.0 1406 * 1407 * @global int $wp_current_db_version 1408 * @global wpdb $wpdb 1347 1409 */ 1348 1410 function upgrade_350() { … … 1372 1434 * 1373 1435 * @since 3.7.0 1436 * 1437 * @global int $wp_current_db_version 1374 1438 */ 1375 1439 function upgrade_370() { … … 1384 1448 * @since 3.7.2 1385 1449 * @since 3.8.0 1450 * 1451 * @global int $wp_current_db_version 1386 1452 */ 1387 1453 function upgrade_372() { … … 1395 1461 * 1396 1462 * @since 3.8.0 1463 * 1464 * @global int $wp_current_db_version 1397 1465 */ 1398 1466 function upgrade_380() { … … 1407 1475 * 1408 1476 * @since 4.0.0 1477 * 1478 * @global int $wp_current_db_version 1409 1479 */ 1410 1480 function upgrade_400() { … … 1425 1495 * 1426 1496 * @since 4.2.0 1497 * 1498 * @global int $wp_current_db_version 1499 * @global wpdb $wpdb 1427 1500 */ 1428 1501 function upgrade_420() { … … 1446 1519 * 1447 1520 * @since 4.3.0 1521 * 1522 * @global int $wp_current_db_version 1523 * @global wpdb $wpdb 1448 1524 */ 1449 1525 function upgrade_430() { … … 1494 1570 * 1495 1571 * @since 3.0.0 1572 * 1573 * @global int $wp_current_db_version 1574 * @global wpdb $wpdb 1496 1575 */ 1497 1576 function upgrade_network() { … … 1635 1714 * @since 1.0.0 1636 1715 * 1716 * @global wpdb $wpdb 1717 * 1637 1718 * @param string $table_name Database table name to create. 1638 1719 * @param string $create_ddl SQL statement to create table. … … 1662 1743 * 1663 1744 * @since 1.0.1 1745 * 1746 * @global wpdb $wpdb 1664 1747 * 1665 1748 * @param string $table Database table name. … … 1684 1767 * @since 1.0.1 1685 1768 * 1769 * @global wpdb $wpdb 1770 * 1686 1771 * @param string $table Database table name. 1687 1772 * @param string $index Database table index column. … … 1700 1785 * @since 1.3.0 1701 1786 * 1787 * @global wpdb $wpdb 1788 * 1702 1789 * @param string $table_name The table name to modify. 1703 1790 * @param string $column_name The column name to add to the table. … … 1729 1816 * 1730 1817 * @since 4.2.0 1818 * 1819 * @global wpdb $wpdb 1731 1820 * 1732 1821 * @param string $table The table to convert. … … 1771 1860 * @since 1.2.0 1772 1861 * 1862 * @global wpdb $wpdb 1863 * 1773 1864 * @return stdClass List of options. 1774 1865 */ … … 1793 1884 * @access private 1794 1885 * 1886 * @global wpdb $wpdb 1887 * 1795 1888 * @param string $setting Option name. 1796 1889 * @return mixed … … 1851 1944 * 1852 1945 * @since 1.5.0 1946 * 1947 * @global wpdb $wpdb 1853 1948 * 1854 1949 * @param string|array $queries Optional. The query to run. Can be multiple queries … … 2376 2471 * 2377 2472 * @since 2.1.0 2473 * 2474 * @global wpdb $wpdb 2378 2475 */ 2379 2476 function wp_check_mysql_version() { … … 2405 2502 * 2406 2503 * @since 3.5.0 2504 * 2505 * @global int $wp_current_db_version 2506 * @global wpdb $wpdb 2407 2507 */ 2408 2508 function maybe_disable_link_manager() { … … 2417 2517 * 2418 2518 * @since 2.9.0 2519 * 2520 * @global int $wp_current_db_version 2521 * @global wpdb $wpdb 2419 2522 */ 2420 2523 function pre_schema_upgrade() { … … 2473 2576 * @since 3.0.0 2474 2577 * 2578 * @global wpdb $wpdb 2579 * @global string $charset_collate 2475 2580 */ 2476 2581 if ( !function_exists( 'install_global_terms' ) ) : -
trunk/src/wp-admin/menu.php
r31673 r32643 19 19 * 20 20 * @global array $menu 21 * @name $menu22 * @var array23 21 */ 24 22
Note: See TracChangeset
for help on using the changeset viewer.