diff --git src/wp-admin/custom-header.php src/wp-admin/custom-header.php
index 5cc64ef7bf..880caddfde 100644
|
|
|
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
| 1304 | 1304 | } |
| 1305 | 1305 | |
| 1306 | 1306 | /** |
| | 1307 | * Updates the last-used postmeta on a header image attachment after saving a new header image via the customizer. |
| 1307 | 1308 | * |
| 1308 | | * @param WP_Customize_Manager $wp_customize |
| | 1309 | * @param WP_Customize_Manager $wp_customize Customize manager. |
| 1309 | 1310 | */ |
| 1310 | 1311 | public function customize_set_last_used( $wp_customize ) { |
| 1311 | 1312 | $data = $wp_customize->get_setting( 'header_image_data' )->post_value(); |
| … |
… |
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
| 1320 | 1321 | } |
| 1321 | 1322 | |
| 1322 | 1323 | /** |
| | 1324 | * Gets the details of default header images if defined. |
| 1323 | 1325 | * |
| 1324 | | * @return array |
| | 1326 | * @return array Default header images. |
| 1325 | 1327 | */ |
| 1326 | 1328 | public function get_default_header_images() { |
| 1327 | 1329 | $this->process_default_headers(); |
| … |
… |
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
|
| 1360 | 1362 | } |
| 1361 | 1363 | |
| 1362 | 1364 | /** |
| | 1365 | * Gets the previously uploaded header images. |
| 1363 | 1366 | * |
| 1364 | | * @return array |
| | 1367 | * @return array Uploaded header images. |
| 1365 | 1368 | */ |
| 1366 | 1369 | public function get_uploaded_header_images() { |
| 1367 | 1370 | $header_images = get_uploaded_header_images(); |