Make WordPress Core


Ignore:
Timestamp:
01/08/2019 08:47:37 AM (6 years ago)
Author:
flixos90
Message:

Multisite: Move site-specific metadata integrations from the wrapper functions to the low-level Meta API functions.

This complements the work in [43729] and prepares site metadata for future REST API support.

Props spacedmonkey.
Fixes #45091. See #44467.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r44455 r44468  
    13301330    $wpdb->query( "INSERT INTO $wpdb->blogmeta ( blog_id, meta_key, meta_value ) VALUES " . $insert ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
    13311331
    1332     wp_cache_set( 'last_changed', microtime(), 'sites' );
     1332    wp_cache_set_sites_last_changed();
    13331333}
Note: See TracChangeset for help on using the changeset viewer.