Make WordPress Core

Changeset 39692


Ignore:
Timestamp:
01/05/2017 08:11:30 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.
Fixes #39194.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r39560 r39692  
    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 ) ) {
  • trunk/src/wp-includes/theme.php

    r39688 r39692  
    16451645        'cache_results'          => true,
    16461646        'update_post_meta_cache' => false,
    1647         'update_term_meta_cache' => false,
     1647        'update_post_term_cache' => false,
     1648        'lazy_load_term_meta'    => false,
    16481649    );
    16491650
Note: See TracChangeset for help on using the changeset viewer.