Ticket #45604: 45604.2.patch
| File 45604.2.patch, 34.0 KB (added by , 8 years ago) |
|---|
-
src/wp-admin/admin-header.php
16 16 * 17 17 * @global string $title 18 18 * @global string $hook_suffix 19 * @global WP_Screen $current_screen 20 * @global WP_Locale $wp_locale 19 * @global WP_Screen $current_screen The WordPress Current screen object. 20 * @global WP_Locale $wp_locale The WordPress date and time locale object. 21 21 * @global string $pagenow 22 22 * @global string $update_title 23 23 * @global int $total_update_count -
src/wp-admin/export.php
128 128 * Create the date options fields for exporting a given post type. 129 129 * 130 130 * @global wpdb $wpdb WordPress database abstraction object. 131 * @global WP_Locale $wp_locale Date and Time Locale object.131 * @global WP_Locale $wp_locale The WordPress date and time locale object. 132 132 * 133 133 * @since 3.1.0 134 134 * -
src/wp-admin/includes/class-wp-list-table.php
535 535 * 536 536 * @since 3.1.0 537 537 * 538 * @global wpdb $wpdb 539 * @global WP_Locale $wp_locale 538 * @global wpdb $wpdb WordPress database abstraction object. 539 * @global WP_Locale $wp_locale The WordPress date and time locale object. 540 540 * 541 541 * @param string $post_type 542 542 */ -
src/wp-admin/includes/class-wp-media-list-table.php
61 61 } 62 62 63 63 /** 64 * @global WP_Query $wp_query 64 * @global WP_Query $wp_query Global WP_Query instance. 65 65 * @global array $post_mime_types 66 66 * @global array $avail_post_mime_types 67 67 * @global string $mode -
src/wp-admin/includes/class-wp-ms-sites-list-table.php
64 64 * 65 65 * @global string $s 66 66 * @global string $mode 67 * @global wpdb $wpdb 67 * @global wpdb $wpdb WordPress database abstraction object. 68 68 */ 69 69 public function prepare_items() { 70 70 global $s, $mode, $wpdb; -
src/wp-admin/includes/class-wp-ms-users-list-table.php
26 26 /** 27 27 * @global string $usersearch 28 28 * @global string $role 29 * @global wpdb $wpdb 29 * @global wpdb $wpdb WordPress database abstraction object. 30 30 * @global string $mode 31 31 */ 32 32 public function prepare_items() { -
src/wp-admin/includes/class-wp-posts-list-table.php
67 67 * @see WP_List_Table::__construct() for more information on default arguments. 68 68 * 69 69 * @global WP_Post_Type $post_type_object 70 * @global wpdb $wpdb 70 * @global wpdb $wpdb WordPress database abstraction object. 71 71 * 72 72 * @param array $args An associative array of arguments. 73 73 */ … … 135 135 136 136 /** 137 137 * @global array $avail_post_stati 138 * @global WP_Query $wp_query 138 * @global WP_Query $wp_query Global WP_Query instance. 139 139 * @global int $per_page 140 140 * @global string $mode 141 141 */ … … 632 632 } 633 633 634 634 /** 635 * @global WP_Query $wp_query 635 * @global WP_Query $wp_query Global WP_Query instance. 636 636 * @global int $per_page 637 637 * @param array $posts 638 638 * @param int $level … … 677 677 } 678 678 679 679 /** 680 * @global wpdb $wpdb 680 * @global wpdb $wpdb WordPress database abstraction object. 681 681 * @global WP_Post $post 682 682 * @param array $pages 683 683 * @param int $pagenum -
src/wp-admin/includes/class-wp-screen.php
376 376 * @see set_current_screen() 377 377 * @since 3.3.0 378 378 * 379 * @global WP_Screen $current_screen 379 * @global WP_Screen $current_screen The WordPress Current screen object. 380 380 * @global string $taxnow 381 381 * @global string $typenow 382 382 */ -
src/wp-admin/includes/export.php
515 515 <?php 516 516 if ( $post_ids ) { 517 517 /** 518 * @global WP_Query $wp_query 518 * @global WP_Query $wp_query Global WP_Query instance. 519 519 */ 520 520 global $wp_query; 521 521 -
src/wp-admin/includes/media.php
1404 1404 * 1405 1405 * @since 2.5.0 1406 1406 * 1407 * @global WP_Query $wp_ the_query1407 * @global WP_Query $wp_query Global WP_Query instance. 1408 1408 * 1409 1409 * @param int $post_id Optional. Post ID. 1410 1410 * @param array $errors Errors for attachment, if any. … … 2509 2509 * 2510 2510 * @since 2.5.0 2511 2511 * 2512 * @global wpdb $wpdb 2513 * @global WP_Query $wp_query 2514 * @global WP_Locale $wp_locale 2512 * @global wpdb $wpdb WordPress database abstraction object. 2513 * @global WP_Query $wp_query Global WP_Query instance. 2514 * @global WP_Locale $wp_locale The WordPress date and time locale object. 2515 2515 * @global string $type 2516 2516 * @global string $tab 2517 2517 * @global array $post_mime_types -
src/wp-admin/includes/schema.php
11 11 /** 12 12 * Declare these as global in case schema.php is included from a function. 13 13 * 14 * @global wpdb $wpdb 14 * @global wpdb $wpdb WordPress database abstraction object. 15 15 * @global array $wp_queries 16 16 * @global string $charset_collate 17 17 */ … … 959 959 * 960 960 * @since 3.0.0 961 961 * 962 * @global wpdb $wpdb 962 * @global wpdb $wpdb WordPress database abstraction object. 963 963 * @global object $current_site 964 964 * @global WP_Rewrite $wp_rewrite 965 965 * -
src/wp-admin/includes/screen.php
215 215 * 216 216 * @since 3.1.0 217 217 * 218 * @global WP_Screen $current_screen 218 * @global WP_Screen $current_screen The WordPress Current screen object. 219 219 * 220 220 * @return WP_Screen|null Current screen object or null when screen not defined. 221 221 */ -
src/wp-admin/includes/template.php
751 751 * @since 0.71 752 752 * @since 4.4.0 Converted to use get_comment() instead of the global `$comment`. 753 753 * 754 * @global WP_Locale $wp_locale 754 * @global WP_Locale $wp_locale The WordPress date and time locale object. 755 755 * 756 756 * @param int|bool $edit Accepts 1|true for editing the date, 0|false for adding the date. 757 757 * @param int|bool $for_post Accepts 1|true for applying the date to a post, 0|false for a comment. … … 1890 1890 * 1891 1891 * @global string $hook_suffix 1892 1892 * @global string $admin_body_class 1893 * @global WP_Locale $wp_locale 1893 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1894 1894 * 1895 1895 * @param string $title Optional. Title of the Iframe page. Default empty. 1896 1896 * @param bool $deprecated Not used. -
src/wp-admin/includes/update-core.php
864 864 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 865 865 * @global array $_old_files 866 866 * @global array $_new_bundled_files 867 * @global wpdb $wpdb 867 * @global wpdb $wpdb WordPress database abstraction object. 868 868 * @global string $wp_version 869 869 * @global string $required_php_version 870 870 * @global string $required_mysql_version -
src/wp-admin/includes/upgrade.php
126 126 * 127 127 * Adds the default "Uncategorized" category, the first post (with comment), 128 128 * first page, and default widgets for default theme for the current version. 129 *130 * @since 2.1.0131 *132 * @global wpdb $wpdb 133 * @global WP_Rewrite $wp_rewrite134 * @global string $table_prefix135 *129 * 130 * @since 2.1.0 131 * 132 * @global wpdb $wpdb WordPress database abstraction object. 133 * @global WP_Rewrite $wp_rewrite 134 * @global string $table_prefix 135 * 136 136 * @param int $user_id User ID. 137 137 */ 138 138 function wp_install_defaults( $user_id ) { … … 1683 1683 * @since 3.3.0 1684 1684 * 1685 1685 * @global int $wp_current_db_version 1686 * @global wpdb $wpdb 1686 * @global wpdb $wpdb WordPress database abstraction object. 1687 1687 * @global array $wp_registered_widgets 1688 1688 * @global array $sidebars_widgets 1689 1689 */ … … 1763 1763 * @since 3.4.0 1764 1764 * 1765 1765 * @global int $wp_current_db_version 1766 * @global wpdb $wpdb 1766 * @global wpdb $wpdb WordPress database abstraction object. 1767 1767 */ 1768 1768 function upgrade_340() { 1769 1769 global $wp_current_db_version, $wpdb; … … 1800 1800 * @since 3.5.0 1801 1801 * 1802 1802 * @global int $wp_current_db_version 1803 * @global wpdb $wpdb 1803 * @global wpdb $wpdb WordPress database abstraction object. 1804 1804 */ 1805 1805 function upgrade_350() { 1806 1806 global $wp_current_db_version, $wpdb; … … 1901 1901 * @since 4.2.0 1902 1902 * 1903 1903 * @global int $wp_current_db_version 1904 * @global wpdb $wpdb 1904 * @global wpdb $wpdb WordPress database abstraction object. 1905 1905 */ 1906 1906 function upgrade_420() {} 1907 1907 … … 2123 2123 * @since 3.0.0 2124 2124 * 2125 2125 * @global int $wp_current_db_version 2126 * @global wpdb $wpdb 2126 * @global wpdb $wpdb WordPress database abstraction object. 2127 2127 */ 2128 2128 function upgrade_network() { 2129 2129 global $wp_current_db_version, $wpdb; … … 2282 2282 * 2283 2283 * @since 1.0.0 2284 2284 * 2285 * @global wpdb $wpdb 2285 * @global wpdb $wpdb WordPress database abstraction object. 2286 2286 * 2287 2287 * @param string $table_name Database table name to create. 2288 2288 * @param string $create_ddl SQL statement to create table. … … 2312 2312 * 2313 2313 * @since 1.0.1 2314 2314 * 2315 * @global wpdb $wpdb 2315 * @global wpdb $wpdb WordPress database abstraction object. 2316 2316 * 2317 2317 * @param string $table Database table name. 2318 2318 * @param string $index Index name to drop. … … 2335 2335 * 2336 2336 * @since 1.0.1 2337 2337 * 2338 * @global wpdb $wpdb 2338 * @global wpdb $wpdb WordPress database abstraction object. 2339 2339 * 2340 2340 * @param string $table Database table name. 2341 2341 * @param string $index Database table index column. … … 2353 2353 * 2354 2354 * @since 1.3.0 2355 2355 * 2356 * @global wpdb $wpdb 2356 * @global wpdb $wpdb WordPress database abstraction object. 2357 2357 * 2358 2358 * @param string $table_name The table name to modify. 2359 2359 * @param string $column_name The column name to add to the table. … … 2385 2385 * 2386 2386 * @since 4.2.0 2387 2387 * 2388 * @global wpdb $wpdb 2388 * @global wpdb $wpdb WordPress database abstraction object. 2389 2389 * 2390 2390 * @param string $table The table to convert. 2391 2391 * @return bool true if the table was converted, false if it wasn't. … … 2428 2428 * 2429 2429 * @since 1.2.0 2430 2430 * 2431 * @global wpdb $wpdb 2431 * @global wpdb $wpdb WordPress database abstraction object. 2432 2432 * 2433 2433 * @return stdClass List of options. 2434 2434 */ … … 2453 2453 * @since 1.5.1 2454 2454 * @access private 2455 2455 * 2456 * @global wpdb $wpdb 2456 * @global wpdb $wpdb WordPress database abstraction object. 2457 2457 * 2458 2458 * @param string $setting Option name. 2459 2459 * @return mixed … … 2518 2518 * 2519 2519 * @since 1.5.0 2520 2520 * 2521 * @global wpdb $wpdb 2521 * @global wpdb $wpdb WordPress database abstraction object. 2522 2522 * 2523 2523 * @param string[]|string $queries Optional. The query to run. Can be multiple queries 2524 2524 * in an array, or a string of queries separated by … … 3176 3176 * 3177 3177 * @since 2.1.0 3178 3178 * 3179 * @global wpdb $wpdb 3179 * @global wpdb $wpdb WordPress database abstraction object. 3180 3180 */ 3181 3181 function wp_check_mysql_version() { 3182 3182 global $wpdb; … … 3284 3284 if ( ! function_exists( 'install_global_terms' ) ) : 3285 3285 /** 3286 3286 * Install global terms. 3287 *3288 * @since 3.0.03289 *3290 * @global wpdb $wpdb 3291 * @global string $charset_collate3292 */3293 function install_global_terms() {3287 * 3288 * @since 3.0.0 3289 * 3290 * @global wpdb $wpdb WordPress database abstraction object. 3291 * @global string $charset_collate 3292 */ 3293 function install_global_terms() { 3294 3294 global $wpdb, $charset_collate; 3295 3295 $ms_queries = " 3296 3296 CREATE TABLE $wpdb->sitecategories ( -
src/wp-admin/install.php
229 229 * @global string $wp_version 230 230 * @global string $required_php_version 231 231 * @global string $required_mysql_version 232 * @global wpdb $wpdb 232 * @global wpdb $wpdb WordPress database abstraction object. 233 233 */ 234 234 global $wp_version, $required_php_version, $required_mysql_version; 235 235 … … 281 281 282 282 /** 283 283 * @global string $wp_local_package 284 * @global WP_Locale $wp_locale 284 * @global WP_Locale $wp_locale The WordPress date and time locale object. 285 285 */ 286 286 $language = ''; 287 287 if ( ! empty( $_REQUEST['language'] ) ) { -
src/wp-admin/options-general.php
395 395 <td><select name="start_of_week" id="start_of_week"> 396 396 <?php 397 397 /** 398 * @global WP_Locale $wp_locale 398 * @global WP_Locale $wp_locale The WordPress date and time locale object. 399 399 */ 400 400 global $wp_locale; 401 401 -
src/wp-admin/setup-config.php
88 88 * @since 2.3.0 89 89 * 90 90 * @global string $wp_local_package 91 * @global WP_Locale $wp_locale 91 * @global WP_Locale $wp_locale The WordPress date and time locale object. 92 92 * 93 93 * @param string|array $body_classes 94 94 */ -
src/wp-admin/update-core.php
25 25 26 26 /** 27 27 * @global string $wp_local_package 28 * @global wpdb $wpdb 28 * @global wpdb $wpdb WordPress database abstraction object. 29 29 * 30 30 * @staticvar bool $first_pass 31 31 * -
src/wp-admin/upgrade.php
40 40 * @global string $wp_version 41 41 * @global string $required_php_version 42 42 * @global string $required_mysql_version 43 * @global wpdb $wpdb 43 * @global wpdb $wpdb WordPress database abstraction object. 44 44 */ 45 45 global $wp_version, $required_php_version, $required_mysql_version; 46 46 -
src/wp-includes/canonical.php
30 30 * 31 31 * @global WP_Rewrite $wp_rewrite 32 32 * @global bool $is_IIS 33 * @global WP_Query $wp_query 33 * @global WP_Query $wp_query Global WP_Query instance. 34 34 * @global wpdb $wpdb WordPress database abstraction object. 35 35 * @global WP $wp Current WordPress environment instance. 36 36 * -
src/wp-includes/class-wp-customize-manager.php
3326 3326 * 3327 3327 * @since 4.7.0 3328 3328 * @see _wp_customize_publish_changeset() 3329 * @global wpdb $wpdb 3329 * @global wpdb $wpdb WordPress database abstraction object. 3330 3330 * 3331 3331 * @param int $changeset_post_id ID for customize_changeset post. Defaults to the changeset for the current manager instance. 3332 3332 * @return true|WP_Error True or error info. -
src/wp-includes/class-wp.php
568 568 * 569 569 * @since 2.0.0 570 570 * 571 * @global WP_Query $wp_query 571 * @global WP_Query $wp_query Global WP_Query instance. 572 572 * @global string $query_string Query string for the loop. 573 573 * @global array $posts The found posts. 574 574 * @global WP_Post|null $post The current post, if available. … … 637 637 * 638 638 * @since 2.0.0 639 639 * 640 * @global WP_Query $wp_query 640 * @global WP_Query $wp_query Global WP_Query instance. 641 641 */ 642 642 public function handle_404() { 643 643 global $wp_query; -
src/wp-includes/comment-template.php
1305 1305 * 1306 1306 * @since 1.5.0 1307 1307 * 1308 * @global WP_Query $wp_query 1308 * @global WP_Query $wp_query Global WP_Query instance. 1309 1309 * @global WP_Post $post 1310 * @global wpdb $wpdb 1310 * @global wpdb $wpdb WordPress database abstraction object. 1311 1311 * @global int $id 1312 1312 * @global WP_Comment $comment 1313 1313 * @global string $user_login … … 1953 1953 * 1954 1954 * @see WP_Query->comments 1955 1955 * 1956 * @global WP_Query $wp_query 1956 * @global WP_Query $wp_query Global WP_Query instance. 1957 1957 * @global int $comment_alt 1958 1958 * @global int $comment_depth 1959 1959 * @global int $comment_thread_alt -
src/wp-includes/comment.php
940 940 * 941 941 * @uses Walker_Comment 942 942 * 943 * @global WP_Query $wp_query 943 * @global WP_Query $wp_query Global WP_Query instance. 944 944 * 945 945 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects. Defaults to $wp_query->comments. 946 946 * @param int $per_page Optional. Comments per page. -
src/wp-includes/functions.php
83 83 * 84 84 * @since 0.71 85 85 * 86 * @global WP_Locale $wp_locale 86 * @global WP_Locale $wp_locale The WordPress date and time locale object. 87 87 * 88 88 * @param string $dateformatstring Format to display the date. 89 89 * @param int|bool $timestamp_with_offset Optional. A sum of Unix timestamp and timezone offset in seconds. … … 202 202 * 203 203 * @since 4.4.0 204 204 * 205 * @global WP_Locale $wp_locale 205 * @global WP_Locale $wp_locale The WordPress date and time locale object. 206 206 * 207 207 * @param string $date Formatted date string. 208 208 * @return string The date, declined if locale specifies it. … … 252 252 * 253 253 * @since 2.3.0 254 254 * 255 * @global WP_Locale $wp_locale 255 * @global WP_Locale $wp_locale The WordPress date and time locale object. 256 256 * 257 257 * @param float $number The number to convert based on locale. 258 258 * @param int $decimals Optional. Precision of the number of decimal places. Default 0. … … 1081 1081 * @since 2.0.0 1082 1082 * 1083 1083 * @global WP $wp_locale 1084 * @global WP_Query $wp_query 1084 * @global WP_Query $wp_query Global WP_Query instance. 1085 1085 * @global WP_Query $wp_the_query 1086 1086 * 1087 1087 * @param string|array $query_vars Default WP_Query arguments. -
src/wp-includes/general-template.php
1113 1113 * 1114 1114 * @since 1.0.0 1115 1115 * 1116 * @global WP_Locale $wp_locale 1116 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1117 1117 * 1118 1118 * @param string $sep Optional, default is '»'. How to separate the various items 1119 1119 * within the page title. … … 1434 1434 * 1435 1435 * @since 0.71 1436 1436 * 1437 * @global WP_Locale $wp_locale 1437 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1438 1438 * 1439 1439 * @param string $prefix Optional. What to display before the title. 1440 1440 * @param bool $display Optional, default is true. Whether to display or retrieve title. … … 1704 1704 * 1705 1705 * @see get_archives_link() 1706 1706 * 1707 * @global wpdb $wpdb 1708 * @global WP_Locale $wp_locale 1707 * @global wpdb $wpdb WordPress database abstraction object. 1708 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1709 1709 * 1710 1710 * @param string|array $args { 1711 1711 * Default archive links arguments. Optional. … … 1956 1956 * 1957 1957 * @since 1.0.0 1958 1958 * 1959 * @global wpdb $wpdb 1959 * @global wpdb $wpdb WordPress database abstraction object. 1960 1960 * @global int $m 1961 1961 * @global int $monthnum 1962 1962 * @global int $year 1963 * @global WP_Locale $wp_locale 1963 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1964 1964 * @global array $posts 1965 1965 * 1966 1966 * @param bool $initial Optional, default is true. Use initial calendar names. … … 2597 2597 * 2598 2598 * @since 0.71 2599 2599 * 2600 * @global WP_Locale $wp_locale 2600 * @global WP_Locale $wp_locale The WordPress date and time locale object. 2601 2601 */ 2602 2602 function the_weekday() { 2603 2603 global $wp_locale; … … 2621 2621 * 2622 2622 * @since 0.71 2623 2623 * 2624 * @global WP_Locale $wp_locale 2624 * @global WP_Locale $wp_locale The WordPress date and time locale object. 2625 2625 * @global string|int|bool $currentday 2626 2626 * @global string|int|bool $previousweekday 2627 2627 * … … 3806 3806 * @since 2.1.0 3807 3807 * @since 4.9.0 Added the `aria_current` argument. 3808 3808 * 3809 * @global WP_Query $wp_query 3809 * @global WP_Query $wp_query Global WP_Query instance. 3810 3810 * @global WP_Rewrite $wp_rewrite 3811 3811 * 3812 3812 * @param string|array $args { -
src/wp-includes/l10n.php
1503 1503 * 1504 1504 * @since 3.0.0 1505 1505 * 1506 * @global WP_Locale $wp_locale 1506 * @global WP_Locale $wp_locale The WordPress date and time locale object. 1507 1507 * 1508 1508 * @return bool Whether locale is RTL. 1509 1509 */ -
src/wp-includes/link-template.php
2311 2311 * @since 2.7.0 2312 2312 * 2313 2313 * @global int $paged 2314 * @global WP_Query $wp_query 2314 * @global WP_Query $wp_query Global WP_Query instance. 2315 2315 * 2316 2316 * @param string $label Content for link text. 2317 2317 * @param int $max_page Optional. Max pages. Default 0. … … 2449 2449 * 2450 2450 * @since 2.8.0 2451 2451 * 2452 * @global WP_Query $wp_query 2452 * @global WP_Query $wp_query Global WP_Query instance. 2453 2453 * 2454 2454 * @param string|array $args { 2455 2455 * Optional. Arguments to build the post pages link navigation. … … 2790 2790 * 2791 2791 * @since 2.7.1 2792 2792 * 2793 * @global WP_Query $wp_query 2793 * @global WP_Query $wp_query Global WP_Query instance. 2794 2794 * 2795 2795 * @param string $label Optional. Label for link text. Default empty. 2796 2796 * @param int $max_page Optional. Max page. Default 0. -
src/wp-includes/load.php
778 778 * 779 779 * @since 1.5.1 780 780 * 781 * @global WP_Screen $current_screen 781 * @global WP_Screen $current_screen The WordPress Current screen object. 782 782 * 783 783 * @return bool True if inside WordPress administration interface, false otherwise. 784 784 */ … … 802 802 * 803 803 * @since 3.1.0 804 804 * 805 * @global WP_Screen $current_screen 805 * @global WP_Screen $current_screen The WordPress Current screen object. 806 806 * 807 807 * @return bool True if inside WordPress blog administration pages. 808 808 */ … … 826 826 * 827 827 * @since 3.1.0 828 828 * 829 * @global WP_Screen $current_screen 829 * @global WP_Screen $current_screen The WordPress Current screen object. 830 830 * 831 831 * @return bool True if inside WordPress network administration pages. 832 832 */ … … 850 850 * 851 851 * @since 3.1.0 852 852 * 853 * @global WP_Screen $current_screen 853 * @global WP_Screen $current_screen The WordPress Current screen object. 854 854 * 855 855 * @return bool True if inside WordPress user administration pages. 856 856 */ -
src/wp-includes/media.php
3429 3429 * @since 3.5.0 3430 3430 * 3431 3431 * @global int $content_width 3432 * @global wpdb $wpdb 3433 * @global WP_Locale $wp_locale 3432 * @global wpdb $wpdb WordPress database abstraction object. 3433 * @global WP_Locale $wp_locale The WordPress date and time locale object. 3434 3434 * 3435 3435 * @param array $args { 3436 3436 * Arguments for enqueuing media scripts. -
src/wp-includes/ms-blogs.php
1622 1622 * @see restore_current_blog() 1623 1623 * @since MU (3.0.0) 1624 1624 * 1625 * @global wpdb $wpdb 1625 * @global wpdb $wpdb WordPress database abstraction object. 1626 1626 * @global int $blog_id 1627 1627 * @global array $_wp_switched_stack 1628 1628 * @global bool $switched … … 1702 1702 * @see switch_to_blog() 1703 1703 * @since MU (3.0.0) 1704 1704 * 1705 * @global wpdb $wpdb 1705 * @global wpdb $wpdb WordPress database abstraction object. 1706 1706 * @global array $_wp_switched_stack 1707 1707 * @global int $blog_id 1708 1708 * @global bool $switched -
src/wp-includes/ms-functions.php
582 582 * 583 583 * @since MU (3.0.0) 584 584 * 585 * @global wpdb $wpdb 585 * @global wpdb $wpdb WordPress database abstraction object. 586 586 * @global string $domain 587 587 * 588 588 * @param string $blogname The blog name provided by the user. Must be unique. -
src/wp-includes/nav-menu-template.php
290 290 * @access private 291 291 * @since 3.0.0 292 292 * 293 * @global WP_Query $wp_query 293 * @global WP_Query $wp_query Global WP_Query instance. 294 294 * @global WP_Rewrite $wp_rewrite 295 295 * 296 296 * @param array $menu_items The current menu item objects to which to add the class property information. -
src/wp-includes/option.php
1193 1193 * 1194 1194 * @see get_option() 1195 1195 * 1196 * @global wpdb $wpdb 1196 * @global wpdb $wpdb WordPress database abstraction object. 1197 1197 * 1198 1198 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1199 1199 * @param string $option Name of option to retrieve. Expected to not be SQL-escaped. … … 1326 1326 * 1327 1327 * @see add_option() 1328 1328 * 1329 * @global wpdb $wpdb 1329 * @global wpdb $wpdb WordPress database abstraction object. 1330 1330 * 1331 1331 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1332 1332 * @param string $option Name of option to add. Expected to not be SQL-escaped. … … 1448 1448 * 1449 1449 * @see delete_option() 1450 1450 * 1451 * @global wpdb $wpdb 1451 * @global wpdb $wpdb WordPress database abstraction object. 1452 1452 * 1453 1453 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1454 1454 * @param string $option Name of option to remove. Expected to not be SQL-escaped. … … 1541 1541 * 1542 1542 * @see update_option() 1543 1543 * 1544 * @global wpdb $wpdb 1544 * @global wpdb $wpdb WordPress database abstraction object. 1545 1545 * 1546 1546 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1547 1547 * @param string $option Name of option. Expected to not be SQL-escaped. -
src/wp-includes/post-template.php
583 583 * 584 584 * @since 2.8.0 585 585 * 586 * @global WP_Query $wp_query 586 * @global WP_Query $wp_query Global WP_Query instance. 587 587 * 588 588 * @param string|string[] $class Space-separated string or array of class names to add to the class list. 589 589 * @return string[] Array of class names. … … 1204 1204 * 1205 1205 * @see get_pages() 1206 1206 * 1207 * @global WP_Query $wp_query 1207 * @global WP_Query $wp_query Global WP_Query instance. 1208 1208 * 1209 1209 * @param array|string $args { 1210 1210 * Optional. Array or string of arguments to generate a list of pages. See `get_pages()` for additional arguments. -
src/wp-includes/post-thumbnail-template.php
71 71 * 72 72 * @since 3.2.0 73 73 * 74 * @global WP_Query $wp_query 74 * @global WP_Query $wp_query Global WP_Query instance. 75 75 * 76 76 * @param WP_Query $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global. 77 77 */ -
src/wp-includes/script-loader.php
2611 2611 * 2612 2612 * @since 5.0.0 2613 2613 * 2614 * @global WP_Screen $current_screen 2614 * @global WP_Screen $current_screen The WordPress Current screen object. 2615 2615 */ 2616 2616 function wp_common_block_scripts_and_styles() { 2617 2617 global $current_screen; … … 2645 2645 * 2646 2646 * @since 5.0.0 2647 2647 * 2648 * @global WP_Screen $current_screen 2648 * @global WP_Screen $current_screen The WordPress Current screen object. 2649 2649 */ 2650 2650 function wp_enqueue_registered_block_scripts_and_styles() { 2651 2651 global $current_screen; -
src/wp-includes/template.php
668 668 * @global array $posts 669 669 * @global WP_Post $post 670 670 * @global bool $wp_did_header 671 * @global WP_Query $wp_query 671 * @global WP_Query $wp_query Global WP_Query instance. 672 672 * @global WP_Rewrite $wp_rewrite 673 * @global wpdb $wpdb 673 * @global wpdb $wpdb WordPress database abstraction object. 674 674 * @global string $wp_version 675 675 * @global WP $wp 676 676 * @global int $id -
src/wp-includes/theme.php
265 265 * 266 266 * @since 2.1.0 267 267 * 268 * @global WP_Locale $wp_locale 268 * @global WP_Locale $wp_locale The WordPress date and time locale object. 269 269 * 270 270 * @return string 271 271 */ … … 3231 3231 * @param string $new_status Transition to this post status. 3232 3232 * @param string $old_status Previous post status. 3233 3233 * @param \WP_Post $post Post data. 3234 * @global wpdb $wpdb 3234 * @global wpdb $wpdb WordPress database abstraction object. 3235 3235 */ 3236 3236 function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status, $old_status, $post ) { 3237 3237 global $wpdb; -
src/wp-includes/update.php
15 15 * 16 16 * @since 2.3.0 17 17 * @global string $wp_version Used to check against the newest WordPress version. 18 * @global wpdb $wpdb 18 * @global wpdb $wpdb WordPress database abstraction object. 19 19 * @global string $wp_local_package 20 20 * 21 21 * @param array $extra_stats Extra statistics to report to the WordPress.org API. -
src/wp-settings.php
398 398 * Holds the reference to @see $wp_the_query 399 399 * Use this global for WordPress queries 400 400 * 401 * @global WP_Query $wp_query 401 * @global WP_Query $wp_query Global WP_Query instance. 402 402 * @since 1.5.0 403 403 */ 404 404 $GLOBALS['wp_query'] = $GLOBALS['wp_the_query']; … … 458 458 /** 459 459 * WordPress Locale object for loading locale domain date and various strings. 460 460 * 461 * @global WP_Locale $wp_locale 461 * @global WP_Locale $wp_locale The WordPress date and time locale object. 462 462 * @since 2.1.0 463 463 */ 464 464 $GLOBALS['wp_locale'] = new WP_Locale();
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)