Ticket #20147: 20147.3.diff
| File 20147.3.diff, 2.3 KB (added by DH-Shredder, 16 months ago) |
|---|
-
wp-admin/includes/class-wp-themes-list-table.php
168 168 <p><?php printf( __( 'All of this theme’s files are located in <code>%2$s</code>.' ), 169 169 $title, str_replace( WP_CONTENT_DIR, '', $theme->get_template_directory() ), str_replace( WP_CONTENT_DIR, '', $theme->get_stylesheet_directory() ) ); ?></p> 170 170 <?php endif; ?> 171 <?php172 if ( $theme->get('Tags') )173 printf( '<p>' . __( 'Tags: %s.' ) . '</p>', $theme->display('Tags') );174 ?>175 171 </div> 176 172 <?php theme_update_available( $theme ); ?> 177 173 </div> -
wp-admin/themes.php
136 136 } 137 137 } 138 138 echo implode ( ' | ', $options ); 139 140 if ( $ct->get('Tags') ) : ?> 141 <p><?php _e('Tags:'); ?> <?php echo $ct->display('Tags'); ?></p> 142 <?php endif; ?> 139 ?> 143 140 </div> 144 141 <?php theme_update_available($ct); ?> 145 142 146 143 </div> 147 144 148 <br class="clear" />149 145 <?php 150 146 if ( ! current_user_can( 'switch_themes' ) ) { 151 147 echo '</div>'; … … 154 150 } 155 151 ?> 156 152 157 <h3><?php _e('Available Themes'); ?></h3>158 159 153 <?php if ( !empty( $_REQUEST['s'] ) || !empty( $_REQUEST['filter'] ) || $wp_list_table->has_items() ) : ?> 160 154 161 155 <form class="search-form filter-form" action="" method="get"> 162 156 163 157 <p class="search-box"> 158 164 159 <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label> 165 160 <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 166 161 <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?> 167 162 <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a> 168 163 </p> 169 164 170 < br class="clear"/>165 <h3><?php _e('Available Themes'); ?></h3> 171 166 172 167 <div id="filter-box" style="<?php if ( empty($_REQUEST['filter']) ) echo 'display: none;'; ?>"> 173 168 <?php $feature_list = get_theme_feature_list(); ?> … … 207 202 <br class="clear"/> 208 203 </div> 209 204 210 <br class="clear" />211 212 205 <?php endif; ?> 213 206 214 207 <?php $wp_list_table->display(); ?>