Changeset 32643 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 05/29/2015 02:05:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.