Changeset 36539
- Timestamp:
- 02/16/2016 10:11:14 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r36250 r36539 978 978 * for randomly cycling among the default images; 'random-uploaded-image', for randomly cycling 979 979 * among the uploaded images; the key of a default image registered for that theme; and 980 * the key of an image uploaded for that theme (the basename of the URL).980 * the key of an image uploaded for that theme (the attachment ID of the image). 981 981 * Or an array of arguments: attachment_id, url, width, height. All are required. 982 982 */ -
trunk/src/wp-includes/theme.php
r36502 r36539 1208 1208 $url = esc_url_raw( wp_get_attachment_url( $header->ID ) ); 1209 1209 $header_data = wp_get_attachment_metadata( $header->ID ); 1210 $header_index = basename($url);1210 $header_index = $header->ID; 1211 1211 1212 1212 $header_images[$header_index] = array();
Note: See TracChangeset
for help on using the changeset viewer.