Ticket #26601: 26601.themes.2.patch
File 26601.themes.2.patch, 2.0 KB (added by , 3 years ago) |
---|
-
src/wp-admin/css/themes.css
949 949 float: none; 950 950 clear: both; 951 951 left: 0; 952 top: 0;953 952 right: 0; 954 margin: 10px 0;953 margin: -5px 0 20px 0; 955 954 width: 100%; 956 955 max-width: 280px; 957 956 } -
src/wp-admin/js/theme.js
83 83 }, 84 84 85 85 // Defines search element container 86 searchContainer: $( ' #wpbody h1:first' ),86 searchContainer: $( '.search-form' ), 87 87 88 88 // Search input and view 89 89 // for current theme collection … … 1773 1773 1774 1774 activeClass: 'current', 1775 1775 1776 // Overwrite search container class to append search1777 // in new location1778 searchContainer: $( '.wp-filter .search-form' ),1779 1780 1776 /* 1781 1777 * When users press the "Upload Theme" button, show the upload form in place. 1782 1778 */ -
src/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> 158 157 159 <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?> 158 160 <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 161 <?php endif; ?> 160 </h1> 162 163 <span class="search-form"></span> 164 165 <hr class="wp-header-end"> 161 166 <?php 162 167 if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?> 163 168 <div id="message1" class="updated notice is-dismissible"><p><?php _e('The active theme is broken. Reverting to the default theme.'); ?></p></div>