diff --git src/wp-admin/custom-header.php src/wp-admin/custom-header.php
index 5cc64ef7bf..1e1febcc4e 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 | * @since 3.9.0 |
| 1310 | * |
| 1311 | * @param WP_Customize_Manager $wp_customize Customize manager. |
1309 | 1312 | */ |
1310 | 1313 | public function customize_set_last_used( $wp_customize ) { |
1311 | 1314 | $data = $wp_customize->get_setting( 'header_image_data' )->post_value(); |
… |
… |
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> |
1320 | 1323 | } |
1321 | 1324 | |
1322 | 1325 | /** |
| 1326 | * Gets the details of default header images if defined. |
| 1327 | * |
| 1328 | * @since 3.9.0 |
1323 | 1329 | * |
1324 | | * @return array |
| 1330 | * @return array Default header images. |
1325 | 1331 | */ |
1326 | 1332 | public function get_default_header_images() { |
1327 | 1333 | $this->process_default_headers(); |
… |
… |
wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?> |
1360 | 1366 | } |
1361 | 1367 | |
1362 | 1368 | /** |
| 1369 | * Gets the previously uploaded header images. |
| 1370 | * |
| 1371 | * @since 3.9.0 |
1363 | 1372 | * |
1364 | | * @return array |
| 1373 | * @return array Uploaded header images. |
1365 | 1374 | */ |
1366 | 1375 | public function get_uploaded_header_images() { |
1367 | 1376 | $header_images = get_uploaded_header_images(); |