Changeset 43571 for trunk/src/wp-admin/includes/theme-install.php
- Timestamp:
- 08/17/2018 01:50:26 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme-install.php
r42343 r43571 105 105 </select> 106 106 <label class="screen-reader-text" for="s"> 107 <?php108 switch ( $type ) {109 case 'term':110 _e( 'Search by keyword' );111 break;112 case 'author':113 _e( 'Search by author' );114 break;115 case 'tag':116 _e( 'Search by tag' );117 break;118 }119 ?>107 <?php 108 switch ( $type ) { 109 case 'term': 110 _e( 'Search by keyword' ); 111 break; 112 case 'author': 113 _e( 'Search by author' ); 114 break; 115 case 'tag': 116 _e( 'Search by tag' ); 117 break; 118 } 119 ?> 120 120 </label> 121 121 <?php else : ?> … … 125 125 <?php submit_button( __( 'Search' ), '', 'search', false ); ?> 126 126 </form> 127 <?php127 <?php 128 128 } 129 129 … … 135 135 function install_themes_dashboard() { 136 136 install_theme_search_form( false ); 137 ?>137 ?> 138 138 <h4><?php _e( 'Feature Filter' ); ?></h4> 139 139 <p class="install-help"><?php _e( 'Find a theme based on specific features.' ); ?></p> … … 153 153 $feature_name = esc_html( $feature_name ); 154 154 $feature = esc_attr( $feature ); 155 ?>155 ?> 156 156 157 157 <li> … … 163 163 </ol> 164 164 <br class="clear" /> 165 <?php165 <?php 166 166 } 167 167 ?> … … 169 169 </div> 170 170 <br class="clear" /> 171 <?php submit_button( __( 'Find Themes' ), '', 'search' ); ?>171 <?php submit_button( __( 'Find Themes' ), '', 'search' ); ?> 172 172 </form> 173 <?php173 <?php 174 174 } 175 175 … … 178 178 */ 179 179 function install_themes_upload() { 180 ?>180 ?> 181 181 <p class="install-help"><?php _e( 'If you have a theme in a .zip format, you may install it by uploading it here.' ); ?></p> 182 182 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-theme' ); ?>">
Note: See TracChangeset
for help on using the changeset viewer.