Ticket #37923: 37923.18.diff
File 37923.18.diff, 3.8 KB (added by , 6 years ago) |
---|
-
src/wp-includes/class-wp-site-query.php
108 108 * 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 * 114 114 * @param string|array $query { -
src/wp-includes/functions.php
4851 4851 * a setting for the main network, making it essentially a global setting. Subsequent requests 4852 4852 * will refer to this setting instead of running the query. 4853 4853 * 4854 * @since 5. 0.04854 * @since 5.1.0 4855 4855 * 4856 4856 * @global wpdb $wpdb WordPress database abstraction object. 4857 4857 * -
src/wp-includes/ms-blogs.php
699 699 * Adds any sites from the given ids to the cache that do not already exist in cache. 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 * 705 705 * @see update_site_cache() … … 723 723 * Updates sites in cache. 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. 729 729 * @param bool $update_meta_cache Whether to update site meta cache. Default true. … … 750 750 * Performs SQL query to retrieve all metadata for the sites matching `$site_ids` and stores them in the cache. 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. 756 756 * @return array|false Returns false if there is nothing to update. Returns an array of metadata on success. … … 1465 1465 /** 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. 1471 1471 * @param string $meta_key Metadata name. … … 1499 1499 * value, will keep from removing duplicate metadata with the same key. It also 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. 1505 1505 * @param string $meta_key Metadata name. … … 1528 1528 /** 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. 1534 1534 * @param string $key Optional. The meta key to retrieve. By default, returns … … 1556 1556 * 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. 1562 1562 * @param string $meta_key Metadata key. … … 1587 1587 /** 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. 1593 1593 * @return bool Whether the site meta key was deleted from the database. -
src/wp-includes/wp-db.php
417 417 /** 418 418 * Multisite Blog Metadata table 419 419 * 420 * @since 5. 0.0420 * @since 5.1.0 421 421 * @var string 422 422 */ 423 423 public $blogmeta;