Changeset 40935
- Timestamp:
- 06/25/2017 07:03:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r40788 r40935 1322 1322 */ 1323 1323 public function customize_set_last_used( $wp_customize ) { 1324 $data = $wp_customize->get_setting( 'header_image_data' )->post_value(); 1324 1325 $header_image_data_setting = $wp_customize->get_setting( 'header_image_data' ); 1326 if ( ! $header_image_data_setting ) { 1327 return; 1328 } 1329 $data = $header_image_data_setting->post_value(); 1325 1330 1326 1331 if ( ! isset( $data['attachment_id'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.