Changeset 44467 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 01/08/2019 08:17:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.