Ticket #28578: 28578.patch
File 28578.patch, 960 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/theme-install.php
27 27 $submenu_file = 'themes.php'; 28 28 } 29 29 30 $tabs = array( 31 'upload' => __( 'Upload Theme' ), 32 'browse-themes' => __( 'Browse' ) 33 ); 34 30 35 $sections = array( 31 36 'featured' => __( 'Featured Themes' ), 32 37 'popular' => __( 'Popular Themes' ), … … 110 115 <div class="wrap"> 111 116 <h2> 112 117 <?php echo esc_html( $title ); ?> 113 <a href="#" class="upload add-new-h2"><?php _e( 'Upload Theme' ); ?></a> 114 <a href="#" class="browse-themes add-new-h2"><?php _ex( 'Browse', 'themes' ); ?></a> 118 <?php 119 $tabs = apply_filters( 'install_themes_tabs', $tabs ); 120 foreach ( $tabs as $tab => $tab_name ) { 121 echo '<a href="#" class="' . $tab . ' add-new-h2">' . $tab_name . '</a>'; 122 } 123 ?> 115 124 </h2> 116 125 117 126 <div class="upload-theme">