Changeset 45734
- Timestamp:
- 08/04/2019 01:11:01 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r45599 r45734 536 536 * @since 3.1.0 537 537 * 538 * @global wpdb $wpdb 538 * @global wpdb $wpdb WordPress database abstraction object. 539 539 * @global WP_Locale $wp_locale 540 540 * -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r45617 r45734 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() { -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r45704 r45734 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. … … 741 741 742 742 /** 743 * @global wpdb $wpdb 743 * @global wpdb $wpdb WordPress database abstraction object. 744 744 * @global WP_Post $post 745 745 * @param array $pages -
trunk/src/wp-admin/includes/media.php
r45667 r45734 2527 2527 * @since 2.5.0 2528 2528 * 2529 * @global wpdb $wpdb 2529 * @global wpdb $wpdb WordPress database abstraction object. 2530 2530 * @global WP_Query $wp_query 2531 2531 * @global WP_Locale $wp_locale -
trunk/src/wp-admin/includes/ms.php
r45708 r45734 674 674 * @since 3.0.0 675 675 * 676 * @global int $wp_db_version The version number of the database.676 * @global int $wp_db_version WordPress database version. 677 677 * @global string $pagenow 678 678 * -
trunk/src/wp-admin/includes/schema.php
r44976 r45734 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 … … 359 359 * @since 5.1.0 The $options parameter has been added. 360 360 * 361 * @global wpdb $wpdb WordPress database abstraction object.362 * @global int $wp_db_version 363 * @global int $wp_current_db_version 361 * @global wpdb $wpdb WordPress database abstraction object. 362 * @global int $wp_db_version WordPress database version. 363 * @global int $wp_current_db_version The old (current) database version. 364 364 * 365 365 * @param array $options Optional. Custom option $key => $value pairs to use. Default empty array. -
trunk/src/wp-admin/includes/update-core.php
r45611 r45734 870 870 * @global array $_old_files 871 871 * @global array $_new_bundled_files 872 * @global wpdb $wpdb 872 * @global wpdb $wpdb WordPress database abstraction object. 873 873 * @global string $wp_version 874 874 * @global string $required_php_version -
trunk/src/wp-admin/includes/upgrade.php
r45611 r45734 130 130 * @since 2.1.0 131 131 * 132 * @global wpdb $wpdb 132 * @global wpdb $wpdb WordPress database abstraction object. 133 133 * @global WP_Rewrite $wp_rewrite 134 134 * @global string $table_prefix … … 621 621 * @since 2.1.0 622 622 * 623 * @global int $wp_current_db_version 624 * @global int $wp_db_version 625 * @global wpdb $wpdb WordPress database abstraction object.623 * @global int $wp_current_db_version The old (current) database version. 624 * @global int $wp_db_version The new database version. 625 * @global wpdb $wpdb WordPress database abstraction object. 626 626 */ 627 627 function wp_upgrade() { … … 680 680 * @since 1.0.1 681 681 * 682 * @global int $wp_current_db_version 683 * @global int $wp_db_version 682 * @global int $wp_current_db_version The old (current) database version. 683 * @global int $wp_db_version The new database version. 684 684 */ 685 685 function upgrade_all() { … … 1067 1067 * @since 2.0.0 1068 1068 * 1069 * @global wpdb $wpdb WordPress database abstraction object.1070 * @global int $wp_current_db_version 1069 * @global wpdb $wpdb WordPress database abstraction object. 1070 * @global int $wp_current_db_version The old (current) database version. 1071 1071 */ 1072 1072 function upgrade_160() { … … 1186 1186 * @since 2.1.0 1187 1187 * 1188 * @global wpdb $wpdb WordPress database abstraction object.1189 * @global int $wp_current_db_version1188 * @global int $wp_current_db_version The old (current) database version. 1189 * @global wpdb $wpdb WordPress database abstraction object. 1190 1190 */ 1191 1191 function upgrade_210() { 1192 global $wp db, $wp_current_db_version;1192 global $wp_current_db_version, $wpdb; 1193 1193 1194 1194 if ( $wp_current_db_version < 3506 ) { … … 1238 1238 * @since 2.3.0 1239 1239 * 1240 * @global wpdb $wpdb WordPress database abstraction object.1241 * @global int $wp_current_db_version1240 * @global int $wp_current_db_version The old (current) database version. 1241 * @global wpdb $wpdb WordPress database abstraction object. 1242 1242 */ 1243 1243 function upgrade_230() { … … 1512 1512 * @since 2.5.0 1513 1513 * 1514 * @global int $wp_current_db_version 1514 * @global int $wp_current_db_version The old (current) database version. 1515 1515 */ 1516 1516 function upgrade_250() { … … 1543 1543 * @since 2.6.0 1544 1544 * 1545 * @global int $wp_current_db_version 1545 * @global int $wp_current_db_version The old (current) database version. 1546 1546 */ 1547 1547 function upgrade_260() { … … 1559 1559 * @since 2.7.0 1560 1560 * 1561 * @global wpdb $wpdb WordPress database abstraction object.1562 * @global int $wp_current_db_version1561 * @global int $wp_current_db_version The old (current) database version. 1562 * @global wpdb $wpdb WordPress database abstraction object. 1563 1563 */ 1564 1564 function upgrade_270() { 1565 global $wp db, $wp_current_db_version;1565 global $wp_current_db_version, $wpdb; 1566 1566 1567 1567 if ( $wp_current_db_version < 8980 ) { … … 1581 1581 * @since 2.8.0 1582 1582 * 1583 * @global int $wp_current_db_version 1584 * @global wpdb $wpdb WordPress database abstraction object.1583 * @global int $wp_current_db_version The old (current) database version. 1584 * @global wpdb $wpdb WordPress database abstraction object. 1585 1585 */ 1586 1586 function upgrade_280() { … … 1614 1614 * @since 2.9.0 1615 1615 * 1616 * @global int $wp_current_db_version 1616 * @global int $wp_current_db_version The old (current) database version. 1617 1617 */ 1618 1618 function upgrade_290() { … … 1634 1634 * @since 3.0.0 1635 1635 * 1636 * @global int $wp_current_db_version 1637 * @global wpdb $wpdb WordPress database abstraction object.1636 * @global int $wp_current_db_version The old (current) database version. 1637 * @global wpdb $wpdb WordPress database abstraction object. 1638 1638 */ 1639 1639 function upgrade_300() { … … 1685 1685 * @since 3.3.0 1686 1686 * 1687 * @global int $wp_current_db_version 1688 * @global wpdb $wpdb 1687 * @global int $wp_current_db_version The old (current) database version. 1688 * @global wpdb $wpdb WordPress database abstraction object. 1689 1689 * @global array $wp_registered_widgets 1690 1690 * @global array $sidebars_widgets … … 1766 1766 * @since 3.4.0 1767 1767 * 1768 * @global int $wp_current_db_version1769 * @global wpdb $wpdb1768 * @global int $wp_current_db_version The old (current) database version. 1769 * @global wpdb $wpdb WordPress database abstraction object. 1770 1770 */ 1771 1771 function upgrade_340() { … … 1803 1803 * @since 3.5.0 1804 1804 * 1805 * @global int $wp_current_db_version1806 * @global wpdb $wpdb1805 * @global int $wp_current_db_version The old (current) database version. 1806 * @global wpdb $wpdb WordPress database abstraction object. 1807 1807 */ 1808 1808 function upgrade_350() { … … 1840 1840 * @since 3.7.0 1841 1841 * 1842 * @global int $wp_current_db_version 1842 * @global int $wp_current_db_version The old (current) database version. 1843 1843 */ 1844 1844 function upgrade_370() { … … 1856 1856 * @since 3.8.0 1857 1857 * 1858 * @global int $wp_current_db_version 1858 * @global int $wp_current_db_version The old (current) database version. 1859 1859 */ 1860 1860 function upgrade_372() { … … 1871 1871 * @since 3.8.0 1872 1872 * 1873 * @global int $wp_current_db_version 1873 * @global int $wp_current_db_version The old (current) database version. 1874 1874 */ 1875 1875 function upgrade_380() { … … 1886 1886 * @since 4.0.0 1887 1887 * 1888 * @global int $wp_current_db_version 1888 * @global int $wp_current_db_version The old (current) database version. 1889 1889 */ 1890 1890 function upgrade_400() { … … 1906 1906 * @ignore 1907 1907 * @since 4.2.0 1908 *1909 * @global int $wp_current_db_version1910 * @global wpdb $wpdb1911 1908 */ 1912 1909 function upgrade_420() {} … … 1918 1915 * @since 4.3.0 1919 1916 * 1920 * @global int $wp_current_db_version Currentversion.1917 * @global int $wp_current_db_version The old (current) database version. 1921 1918 * @global wpdb $wpdb WordPress database abstraction object. 1922 1919 */ … … 1957 1954 * @since 4.3.0 1958 1955 * 1959 * @global int $wp_current_db_version Currentversion.1956 * @global int $wp_current_db_version The old (current) database version. 1960 1957 * @global wpdb $wpdb WordPress database abstraction object. 1961 1958 */ … … 2022 2019 * @since 4.4.0 2023 2020 * 2024 * @global int $wp_current_db_version Currentversion.2021 * @global int $wp_current_db_version The old (current) database version. 2025 2022 * @global wpdb $wpdb WordPress database abstraction object. 2026 2023 */ … … 2047 2044 * @since 4.5.0 2048 2045 * 2049 * @global int $wp_current_db_version Currentdatabase version.2046 * @global int $wp_current_db_version The old (current) database version. 2050 2047 * @global wpdb $wpdb WordPress database abstraction object. 2051 2048 */ … … 2072 2069 * @since 4.6.0 2073 2070 * 2074 * @global int $wp_current_db_version Currentdatabase version.2071 * @global int $wp_current_db_version The old (current) database version. 2075 2072 */ 2076 2073 function upgrade_460() { … … 2123 2120 * @since 3.0.0 2124 2121 * 2125 * @global int $wp_current_db_version2126 * @global wpdb $wpdb2122 * @global int $wp_current_db_version The old (current) database version. 2123 * @global wpdb $wpdb WordPress database abstraction object. 2127 2124 */ 2128 2125 function upgrade_network() { … … 2283 2280 * @since 1.0.0 2284 2281 * 2285 * @global wpdb $wpdb2282 * @global wpdb $wpdb WordPress database abstraction object. 2286 2283 * 2287 2284 * @param string $table_name Database table name to create. … … 2313 2310 * @since 1.0.1 2314 2311 * 2315 * @global wpdb $wpdb2312 * @global wpdb $wpdb WordPress database abstraction object. 2316 2313 * 2317 2314 * @param string $table Database table name. … … 2336 2333 * @since 1.0.1 2337 2334 * 2338 * @global wpdb $wpdb2335 * @global wpdb $wpdb WordPress database abstraction object. 2339 2336 * 2340 2337 * @param string $table Database table name. … … 2354 2351 * @since 1.3.0 2355 2352 * 2356 * @global wpdb $wpdb2353 * @global wpdb $wpdb WordPress database abstraction object. 2357 2354 * 2358 2355 * @param string $table_name The table name to modify. … … 2386 2383 * @since 4.2.0 2387 2384 * 2388 * @global wpdb $wpdb2385 * @global wpdb $wpdb WordPress database abstraction object. 2389 2386 * 2390 2387 * @param string $table The table to convert. … … 2429 2426 * @since 1.2.0 2430 2427 * 2431 * @global wpdb $wpdb2428 * @global wpdb $wpdb WordPress database abstraction object. 2432 2429 * 2433 2430 * @return stdClass List of options. … … 2455 2452 * @access private 2456 2453 * 2457 * @global wpdb $wpdb2454 * @global wpdb $wpdb WordPress database abstraction object. 2458 2455 * 2459 2456 * @param string $setting Option name. … … 2520 2517 * @since 1.5.0 2521 2518 * 2522 * @global wpdb $wpdb2519 * @global wpdb $wpdb WordPress database abstraction object. 2523 2520 * 2524 2521 * @param string[]|string $queries Optional. The query to run. Can be multiple queries … … 3184 3181 * @since 2.1.0 3185 3182 * 3186 * @global wpdb $wpdb3183 * @global wpdb $wpdb WordPress database abstraction object. 3187 3184 */ 3188 3185 function wp_check_mysql_version() { … … 3216 3213 * @since 3.5.0 3217 3214 * 3218 * @global int $wp_current_db_version 3219 * @global wpdb $wpdb WordPress database abstraction object.3215 * @global int $wp_current_db_version The old (current) database version. 3216 * @global wpdb $wpdb WordPress database abstraction object. 3220 3217 */ 3221 3218 function maybe_disable_link_manager() { … … 3232 3229 * @since 2.9.0 3233 3230 * 3234 * @global int $wp_current_db_version 3235 * @global wpdb $wpdb WordPress database abstraction object.3231 * @global int $wp_current_db_version The old (current) database version. 3232 * @global wpdb $wpdb WordPress database abstraction object. 3236 3233 */ 3237 3234 function pre_schema_upgrade() { … … 3295 3292 * @since 3.0.0 3296 3293 * 3297 * @global wpdb $wpdb 3294 * @global wpdb $wpdb WordPress database abstraction object. 3298 3295 * @global string $charset_collate 3299 3296 */ -
trunk/src/wp-admin/network/upgrade.php
r45674 r45734 50 50 if ( $n < 5 ) { 51 51 /** 52 * @global string $wp_db_version52 * @global int $wp_db_version WordPress database version. 53 53 */ 54 54 global $wp_db_version; -
trunk/src/wp-admin/update-core.php
r45674 r45734 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 -
trunk/src/wp-includes/canonical.php
r45590 r45734 32 32 * @global bool $is_IIS 33 33 * @global WP_Query $wp_query 34 * @global wpdb $wpdb WordPress database abstraction object.35 * @global WP $wp Current WordPress environment instance.34 * @global wpdb $wpdb WordPress database abstraction object. 35 * @global WP $wp Current WordPress environment instance. 36 36 * 37 37 * @param string $requested_url Optional. The URL that was requested, used to -
trunk/src/wp-includes/capabilities.php
r45622 r45734 772 772 * @since 4.3.0 773 773 * 774 * @global WP_Roles $wp_roles W P_Roles global instance.774 * @global WP_Roles $wp_roles WordPress role management object. 775 775 * 776 776 * @return WP_Roles WP_Roles global instance if not already instantiated. -
trunk/src/wp-includes/class-wp-customize-manager.php
r45639 r45734 3342 3342 * @since 4.7.0 3343 3343 * @see _wp_customize_publish_changeset() 3344 * @global wpdb $wpdb 3344 * @global wpdb $wpdb WordPress database abstraction object. 3345 3345 * 3346 3346 * @param int $changeset_post_id ID for customize_changeset post. Defaults to the changeset for the current manager instance. -
trunk/src/wp-includes/class-wp-network-query.php
r45590 r45734 500 500 * @since 4.6.0 501 501 * 502 * @global wpdb 502 * @global wpdb $wpdb WordPress database abstraction object. 503 503 * 504 504 * @param string $string Search string. -
trunk/src/wp-includes/class-wp-site-query.php
r45590 r45734 691 691 * @since 4.6.0 692 692 * 693 * @global wpdb 693 * @global wpdb $wpdb WordPress database abstraction object. 694 694 * 695 695 * @param string $string Search string. -
trunk/src/wp-includes/comment-template.php
r45667 r45734 1305 1305 * @global WP_Query $wp_query 1306 1306 * @global WP_Post $post 1307 * @global wpdb $wpdb 1307 * @global wpdb $wpdb WordPress database abstraction object. 1308 1308 * @global int $id 1309 1309 * @global WP_Comment $comment -
trunk/src/wp-includes/deprecated.php
r45723 r45734 2371 2371 * @see get_users() 2372 2372 * 2373 * @global wpdb $wpdb 2373 * @global wpdb $wpdb WordPress database abstraction object. 2374 2374 * 2375 2375 * @param int $id Site ID. -
trunk/src/wp-includes/general-template.php
r45667 r45734 1772 1772 * @see get_archives_link() 1773 1773 * 1774 * @global wpdb $wpdb 1774 * @global wpdb $wpdb WordPress database abstraction object. 1775 1775 * @global WP_Locale $wp_locale 1776 1776 * … … 2042 2042 * @since 1.0.0 2043 2043 * 2044 * @global wpdb $wpdb 2044 * @global wpdb $wpdb WordPress database abstraction object. 2045 2045 * @global int $m 2046 2046 * @global int $monthnum -
trunk/src/wp-includes/load.php
r45672 r45734 407 407 * @since 2.5.0 408 408 * 409 * @global wpdb $wpdb The WordPress database class.409 * @global wpdb $wpdb WordPress database abstraction object. 410 410 */ 411 411 function require_wp_db() { … … 438 438 * @access private 439 439 * 440 * @global wpdb $wpdb The WordPress database class.440 * @global wpdb $wpdb WordPress database abstraction object. 441 441 * @global string $table_prefix The database table prefix. 442 442 */ -
trunk/src/wp-includes/media.php
r45611 r45734 3561 3561 * 3562 3562 * @global int $content_width 3563 * @global wpdb $wpdb 3563 * @global wpdb $wpdb WordPress database abstraction object. 3564 3564 * @global WP_Locale $wp_locale 3565 3565 * -
trunk/src/wp-includes/ms-blogs.php
r44926 r45734 478 478 * @since MU (3.0.0) 479 479 * 480 * @global wpdb $wpdb 480 * @global wpdb $wpdb WordPress database abstraction object. 481 481 * @global int $blog_id 482 482 * @global array $_wp_switched_stack … … 558 558 * @since MU (3.0.0) 559 559 * 560 * @global wpdb $wpdb 560 * @global wpdb $wpdb WordPress database abstraction object. 561 561 * @global array $_wp_switched_stack 562 562 * @global int $blog_id -
trunk/src/wp-includes/ms-deprecated.php
r45708 r45734 597 597 * @deprecated 5.1.0 598 598 * 599 * @global wpdb $wpdb 600 * @global WP_Roles $wp_roles 599 * @global wpdb $wpdb WordPress database abstraction object. 600 * @global WP_Roles $wp_roles WordPress role management object. 601 601 * 602 602 * @param int $blog_id The value returned by wp_insert_site(). -
trunk/src/wp-includes/ms-functions.php
r45715 r45734 587 587 * @since MU (3.0.0) 588 588 * 589 * @global wpdb $wpdb 589 * @global wpdb $wpdb WordPress database abstraction object. 590 590 * @global string $domain 591 591 * -
trunk/src/wp-includes/taxonomy.php
r45723 r45734 2414 2414 * @since 2.3.0 2415 2415 * 2416 * @global wpdb $wpdb TheWordPress database abstraction object.2416 * @global wpdb $wpdb WordPress database abstraction object. 2417 2417 * 2418 2418 * @param int $object_id The object to relate to. … … 3215 3215 * @since 2.3.0 3216 3216 * 3217 * @global wpdb $wpdb WordPress database abstraction object.3217 * @global wpdb $wpdb WordPress database abstraction object. 3218 3218 * @global bool $_wp_suspend_cache_invalidation 3219 3219 * -
trunk/src/wp-includes/template.php
r45251 r45734 689 689 * @global WP_Query $wp_query 690 690 * @global WP_Rewrite $wp_rewrite 691 * @global wpdb $wpdb 691 * @global wpdb $wpdb WordPress database abstraction object. 692 692 * @global string $wp_version 693 693 * @global WP $wp -
trunk/src/wp-includes/theme.php
r45662 r45734 3261 3261 * @see wp_delete_auto_drafts() 3262 3262 * 3263 * @global wpdb $wpdb WordPress database abstraction object. 3264 * 3263 3265 * @param string $new_status Transition to this post status. 3264 3266 * @param string $old_status Previous post status. 3265 3267 * @param \WP_Post $post Post data. 3266 * @global wpdb $wpdb3267 3268 */ 3268 3269 function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status, $old_status, $post ) { -
trunk/src/wp-includes/update.php
r45590 r45734 15 15 * 16 16 * @since 2.3.0 17 * @global string $wp_version Used to check against the newest WordPress version.18 * @global wpdb $wpdb 17 * @global string $wp_version Used to check against the newest WordPress version. 18 * @global wpdb $wpdb WordPress database abstraction object. 19 19 * @global string $wp_local_package 20 20 * -
trunk/src/wp-settings.php
r45678 r45734 448 448 * WordPress User Roles 449 449 * 450 * @global WP_Roles $wp_roles 450 * @global WP_Roles $wp_roles WordPress role management object. 451 451 * @since 2.0.0 452 452 */
Note: See TracChangeset
for help on using the changeset viewer.