Make WordPress Core


Ignore:
Timestamp:
01/08/2019 08:17:34 AM (5 years ago)
Author:
flixos90
Message:

Multisite: Update @since tags for site meta introduction.

Fixes #37923. Fixes #40229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r43655 r44467  
    700700 *
    701701 * @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.
    703703 * @access private
    704704 *
     
    724724 *
    725725 * @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.
    727727 *
    728728 * @param array $sites             Array of site objects.
     
    751751 * Subsequent calls to `get_site_meta()` will not need to query the database.
    752752 *
    753  * @since 5.0.0
     753 * @since 5.1.0
    754754 *
    755755 * @param array $site_ids List of site IDs.
     
    14661466 * Adds metadata to a site.
    14671467 *
    1468  * @since 5.0.0
     1468 * @since 5.1.0
    14691469 *
    14701470 * @param int    $site_id    Site ID.
     
    14791479    if ( ! is_site_meta_supported() ) {
    14801480        /* 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' );
    14821482        return false;
    14831483    }
     
    15001500 * allows removing all metadata matching key, if needed.
    15011501 *
    1502  * @since 5.0.0
     1502 * @since 5.1.0
    15031503 *
    15041504 * @param int    $site_id    Site ID.
     
    15121512    if ( ! is_site_meta_supported() ) {
    15131513        /* 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' );
    15151515        return false;
    15161516    }
     
    15291529 * Retrieves metadata for a site.
    15301530 *
    1531  * @since 5.0.0
     1531 * @since 5.1.0
    15321532 *
    15331533 * @param int    $site_id Site ID.
     
    15421542    if ( ! is_site_meta_supported() ) {
    15431543        /* 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' );
    15451545        return false;
    15461546    }
     
    15571557 * If the meta field for the site does not exist, it will be added.
    15581558 *
    1559  * @since 5.0.0
     1559 * @since 5.1.0
    15601560 *
    15611561 * @param int    $site_id    Site ID.
     
    15711571    if ( ! is_site_meta_supported() ) {
    15721572        /* 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' );
    15741574        return false;
    15751575    }
     
    15881588 * Deletes everything from site meta matching meta key.
    15891589 *
    1590  * @since 5.0.0
     1590 * @since 5.1.0
    15911591 *
    15921592 * @param string $meta_key Metadata key to search for when deleting.
     
    15971597    if ( ! is_site_meta_supported() ) {
    15981598        /* 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' );
    16001600        return false;
    16011601    }
Note: See TracChangeset for help on using the changeset viewer.