From 503b0e73c4d45714cf4b80d69530d5de8dfbda38 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 29 Nov 2013 02:39:15 +0000 Subject: [PATCH] Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305 git-svn-id: https://develop.svn.wordpress.org/trunk@26461 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/theme.css | 7 +++---- src/wp-admin/js/theme.js | 2 +- src/wp-admin/themes.php | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/css/theme.css b/src/wp-admin/css/theme.css index b95543225b..9b70079f0a 100644 --- a/src/wp-admin/css/theme.css +++ b/src/wp-admin/css/theme.css @@ -340,11 +340,10 @@ /* * The search form */ -.theme-browser .theme-search { - float: left; +.themes-php .theme-search { position: relative; - top: 7px; - left: 10px; + top: -2px; + left: 20px; font-size: 16px; font-weight: 300; line-height: 1.5; diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 36853a56a5..040015c5a1 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -73,7 +73,7 @@ themes.view.Appearance = wp.Backbone.View.extend({ // Render and append after screen title view.render(); - self.$el.append( view.el ); + $('#wpbody h2:first').append( view.el ); }, // Checks when the user gets close to the bottom diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 33fdeccb97..17a2d4521a 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -119,9 +119,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); - -
-

@@ -180,6 +177,8 @@ if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() ) */ ?> +
+ true ) ) ) {