Ticket #26601: 26601.themes.patch
File 26601.themes.patch, 1.8 KB (added by , 4 years ago) |
---|
-
wp-admin/css/themes.css
31 31 line-height: 1.5; 32 32 } 33 33 34 /* Search form container */ 35 .themes-php .theme-search { 36 display: inline-block; 37 } 38 34 39 /* Position admin messages */ 35 40 .theme .notice, 36 41 .theme .notice.is-dismissible { -
wp-admin/js/theme.js
83 83 }, 84 84 85 85 // Defines search element container 86 searchContainer: $( '#wpbody h1:first' ),86 searchContainer: $( '#wpbody .theme-search' ), 87 87 88 88 // Search input and view 89 89 // for current theme collection -
wp-admin/themes.php
152 152 ?> 153 153 154 154 <div class="wrap"> 155 <h1 ><?php esc_html_e( 'Themes' ); ?>155 <h1 class="wp-heading-inline"><?php esc_html_e( 'Themes' ); ?> 156 156 <span class="title-count theme-count"><?php echo count( $themes ); ?></span> 157 </h1> 157 158 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 158 159 <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a> 159 <?php endif; ?> 160 </h1> 160 <?php endif; ?> 161 <div class='theme-search'></div> 162 <hr class="wp-header-end"> 161 163 <?php 162 164 if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?> 163 165 <div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>