diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index fa0707db7b..ad3781a9dc 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -405,10 +405,9 @@ function wp_prepare_themes_for_js( $themes = null ) { 'name' => $theme->display( 'Name' ), 'screenshot' => array( $theme->get_screenshot() ), // @todo multiple 'description' => $theme->display( 'Description' ), - 'author' => $theme->get( 'Author' ), - 'authorURI' => $theme->get( 'AuthorURI' ), - 'version' => $theme->get( 'Version' ), - 'tags' => $theme->get( 'Tags' ), + 'author' => $theme->display( 'Author' ), + 'version' => $theme->display( 'Version' ), + 'tags' => $theme->display( 'Tags' ), 'parent' => $parent, 'active' => $slug === $current_theme, 'hasUpdate' => isset( $updates[ $slug ] ), diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 0341f9d72d..da790e4268 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -215,7 +215,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_