mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Bring the theme browsing experience from 3.8 to the theme installer. First pass.
props matveb with assists from me and gcorne. see #27055. git-svn-id: https://develop.svn.wordpress.org/trunk@27499 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -202,7 +202,7 @@ if ( isset($_GET['action']) ) {
|
||||
|
||||
include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..
|
||||
|
||||
check_admin_referer('install-theme_' . $theme);
|
||||
check_admin_referer( 'install-theme' );
|
||||
$api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth.
|
||||
|
||||
if ( is_wp_error($api) )
|
||||
|
||||
Reference in New Issue
Block a user