Make WordPress Core

Changeset 39693 for branches/4.7


Ignore:
Timestamp:
01/05/2017 08:12:06 AM (8 years ago)
Author:
dd32
Message:

Customizer: Don't query for postmeta for Custom CSS (for not-current-themes) and Customizer Changeset posts.

Props dlh.
Merges [39692] to the 4.7 branch.
Fixes #39194.

Location:
branches/4.7
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/class-wp-customize-manager.php

    r39573 r39693  
    799799            'cache_results' => true,
    800800            'update_post_meta_cache' => false,
    801             'update_term_meta_cache' => false,
     801            'update_post_term_cache' => false,
     802            'lazy_load_term_meta' => false,
    802803        ) );
    803804        if ( ! empty( $changeset_post_query->posts ) ) {
  • branches/4.7/src/wp-includes/theme.php

    r39575 r39693  
    16441644        'cache_results'          => true,
    16451645        'update_post_meta_cache' => false,
    1646         'update_term_meta_cache' => false,
     1646        'update_post_term_cache' => false,
     1647        'lazy_load_term_meta'    => false,
    16471648    );
    16481649
Note: See TracChangeset for help on using the changeset viewer.