Changeset 40366 for branches/4.7
- Timestamp:
- 04/03/2017 10:14:33 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/customize/class-wp-customize-selective-refresh.php
r39571 r40366 325 325 if ( ! is_customize_preview() ) { 326 326 wp_send_json_error( 'expected_customize_preview', 403 ); 327 } else 327 } elseif ( ! isset( $_POST['partials'] ) ) { 328 328 wp_send_json_error( 'missing_partials', 400 ); 329 329 } 330 331 // Ensure that doing selective refresh on 404 template doesn't result in fallback rendering behavior (full refreshes). 332 status_header( 200 ); 330 333 331 334 $partials = json_decode( wp_unslash( $_POST['partials'] ), true );
Note: See TracChangeset
for help on using the changeset viewer.