Changeset 44467
- Timestamp:
- 01/08/2019 08:17:34 AM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r44455 r44467 2263 2263 2264 2264 // 5.1 2265 if ( $wp_current_db_version < 4 2836) {2265 if ( $wp_current_db_version < 44467 ) { 2266 2266 $network_id = get_main_network_id(); 2267 2267 delete_network_option( $network_id, 'site_meta_supported' ); -
trunk/src/wp-includes/class-wp-site-query.php
r44186 r44467 43 43 * Metadata query container. 44 44 * 45 * @since 5. 0.045 * @since 5.1.0 46 46 * @var WP_Meta_Query 47 47 */ … … 51 51 * Metadata query clauses. 52 52 * 53 * @since 5. 0.053 * @since 5.1.0 54 54 * @var array 55 55 */ … … 109 109 * @since 4.6.0 110 110 * @since 4.8.0 Introduced the 'lang_id', 'lang__in', and 'lang__not_in' parameters. 111 * @since 5. 0.0 Introduced the 'update_site_meta_cache', 'meta_query', 'meta_key',111 * @since 5.1.0 Introduced the 'update_site_meta_cache', 'meta_query', 'meta_key', 112 112 * 'meta_value', 'meta_type' and 'meta_compare' parameters. 113 113 * -
trunk/src/wp-includes/functions.php
r44441 r44467 4913 4913 * will refer to this setting instead of running the query. 4914 4914 * 4915 * @since 5. 0.04915 * @since 5.1.0 4916 4916 * 4917 4917 * @global wpdb $wpdb WordPress database abstraction object. -
trunk/src/wp-includes/ms-blogs.php
r43655 r44467 700 700 * 701 701 * @since 4.6.0 702 * @since 5. 0.0 Introduced the `$update_meta_cache` parameter.702 * @since 5.1.0 Introduced the `$update_meta_cache` parameter. 703 703 * @access private 704 704 * … … 724 724 * 725 725 * @since 4.6.0 726 * @since 5. 0.0 Introduced the `$update_meta_cache` parameter.726 * @since 5.1.0 Introduced the `$update_meta_cache` parameter. 727 727 * 728 728 * @param array $sites Array of site objects. … … 751 751 * Subsequent calls to `get_site_meta()` will not need to query the database. 752 752 * 753 * @since 5. 0.0753 * @since 5.1.0 754 754 * 755 755 * @param array $site_ids List of site IDs. … … 1466 1466 * Adds metadata to a site. 1467 1467 * 1468 * @since 5. 0.01468 * @since 5.1.0 1469 1469 * 1470 1470 * @param int $site_id Site ID. … … 1479 1479 if ( ! is_site_meta_supported() ) { 1480 1480 /* translators: %s: database table name */ 1481 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5. 0.0' );1481 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' ); 1482 1482 return false; 1483 1483 } … … 1500 1500 * allows removing all metadata matching key, if needed. 1501 1501 * 1502 * @since 5. 0.01502 * @since 5.1.0 1503 1503 * 1504 1504 * @param int $site_id Site ID. … … 1512 1512 if ( ! is_site_meta_supported() ) { 1513 1513 /* translators: %s: database table name */ 1514 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5. 0.0' );1514 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' ); 1515 1515 return false; 1516 1516 } … … 1529 1529 * Retrieves metadata for a site. 1530 1530 * 1531 * @since 5. 0.01531 * @since 5.1.0 1532 1532 * 1533 1533 * @param int $site_id Site ID. … … 1542 1542 if ( ! is_site_meta_supported() ) { 1543 1543 /* translators: %s: database table name */ 1544 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5. 0.0' );1544 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' ); 1545 1545 return false; 1546 1546 } … … 1557 1557 * If the meta field for the site does not exist, it will be added. 1558 1558 * 1559 * @since 5. 0.01559 * @since 5.1.0 1560 1560 * 1561 1561 * @param int $site_id Site ID. … … 1571 1571 if ( ! is_site_meta_supported() ) { 1572 1572 /* translators: %s: database table name */ 1573 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5. 0.0' );1573 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' ); 1574 1574 return false; 1575 1575 } … … 1588 1588 * Deletes everything from site meta matching meta key. 1589 1589 * 1590 * @since 5. 0.01590 * @since 5.1.0 1591 1591 * 1592 1592 * @param string $meta_key Metadata key to search for when deleting. … … 1597 1597 if ( ! is_site_meta_supported() ) { 1598 1598 /* translators: %s: database table name */ 1599 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5. 0.0' );1599 _doing_it_wrong( __FUNCTION__, sprintf( __( 'The %s table is not installed. Please run the network database upgrade.' ), $GLOBALS['wpdb']->blogmeta ), '5.1.0' ); 1600 1600 return false; 1601 1601 } -
trunk/src/wp-includes/version.php
r44125 r44467 21 21 * @global int $wp_db_version 22 22 */ 23 $wp_db_version = 4 3764;23 $wp_db_version = 44467; 24 24 25 25 /** -
trunk/src/wp-includes/wp-db.php
r44345 r44467 418 418 * Multisite Blog Metadata table 419 419 * 420 * @since 5. 0.0420 * @since 5.1.0 421 421 * @var string 422 422 */
Note: See TracChangeset
for help on using the changeset viewer.