mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Have WP_Theme::get_screenshot() default to an absolute URI. Allow 'relative' to be requested. see #20103, see #19816.
git-svn-id: https://develop.svn.wordpress.org/trunk@20043 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -28,7 +28,7 @@ wp_enqueue_style( 'customize-controls' );
|
||||
do_action( 'customize_controls_enqueue_scripts' );
|
||||
|
||||
$theme = wp_get_theme();
|
||||
$screenshot = $theme->get_screenshot( 'absolute' );
|
||||
$screenshot = $theme->get_screenshot();
|
||||
|
||||
// Let's roll.
|
||||
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
|
||||
|
||||
Reference in New Issue
Block a user