mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 06:42:56 +02:00
Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
Built from https://develop.svn.wordpress.org/trunk@26461 git-svn-id: http://core.svn.wordpress.org/trunk@26359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3e094ca937
commit
483824f8fb
@ -340,11 +340,10 @@
|
||||
/*
|
||||
* The search form
|
||||
*/
|
||||
.theme-browser .theme-search {
|
||||
float: right;
|
||||
.themes-php .theme-search {
|
||||
position: relative;
|
||||
top: 7px;
|
||||
right: 10px;
|
||||
top: -2px;
|
||||
right: 20px;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
|
2
wp-admin/css/theme-rtl.min.css
vendored
2
wp-admin/css/theme-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
@ -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
|
||||
|
2
wp-admin/js/theme.min.js
vendored
2
wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
@ -119,9 +119,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="add-new-h2"><?php echo esc_html( _x( 'Add New', 'Add new theme' ) ); ?></a>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
|
||||
<div class="theme-browser"></div>
|
||||
|
||||
<?php
|
||||
if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?>
|
||||
<div id="message1" class="updated"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>
|
||||
@ -180,6 +177,8 @@ if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() )
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="theme-browser"></div>
|
||||
|
||||
<?php
|
||||
// List broken themes, if any.
|
||||
if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_get_themes( array( 'errors' => true ) ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user