Changeset 20030
- Timestamp:
- 02/28/2012 09:41:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/customize-controls.php
r19995 r20030 28 28 do_action( 'customize_controls_enqueue_scripts' ); 29 29 30 $theme = get_theme( get_current_theme() ); 31 32 if ( $theme['Screenshot'] ) 33 $screenshot = $theme['Theme Root URI'] . '/' . $theme['Stylesheet'] . '/' . $theme['Screenshot']; 34 else 35 $screenshot = ''; 30 $theme = wp_get_theme(); 31 $screenshot = $theme->get_screenshot( 'absolute' ); 36 32 37 33 // Let's roll.
Note: See TracChangeset
for help on using the changeset viewer.