Changeset 41937 for trunk/src/wp-includes/theme.php
- Timestamp:
- 10/19/2017 04:17:31 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r41887 r41937 1215 1215 $header_images[$header_index]['thumbnail_url'] = $url; 1216 1216 $header_images[$header_index]['alt_text'] = get_post_meta( $header->ID, '_wp_attachment_image_alt', true ); 1217 $header_images[$header_index]['attachment_parent'] = (int) get_post_meta( $header->ID, '_wp_attachment_parent', true );1217 $header_images[$header_index]['attachment_parent'] = isset( $header_data['attachment_parent'] ) ? $header_data['attachment_parent'] : ''; 1218 1218 1219 1219 if ( isset( $header_data['width'] ) )
Note: See TracChangeset
for help on using the changeset viewer.