Ticket #14897: 14897.15.diff
File 14897.15.diff, 1.8 KB (added by , 14 years ago) |
---|
-
wp-admin/network/site-themes.php
1 1 <?php 2 2 /** 3 * Multisite themes administration panel.3 * Edit Site Themes Administration Screen 4 4 * 5 5 * @package WordPress 6 * @subpackage Multisite6 * @subpackage Administration 7 7 * @since 3.1.0 8 8 */ 9 9 … … 17 17 $s = isset($_REQUEST['s']) ? $_REQUEST['s'] : ''; 18 18 19 19 // Clean up request URI from temporary args for screen options/paging uri's to work as expected. 20 $_SERVER['REQUEST_URI'] = remove_query_arg(array(' network-enable', 'network-disable', 'network-enable-selected', 'network-disable-selected'), $_SERVER['REQUEST_URI']);20 $_SERVER['REQUEST_URI'] = remove_query_arg(array('enable', 'disable', 'enable-selected', 'disable-selected'), $_SERVER['REQUEST_URI']); 21 21 22 22 $id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0; 23 23 … … 109 109 ?> 110 110 </h3> 111 111 <p class="description"><?php _e( 'Network enabled themes are not shown on this screen.' ) ?></p> 112 <?php113 if ( ! empty( $messages ) ) {114 foreach ( $messages as $msg )115 echo '<div id="message" class="updated"><p>' . $msg . '</p></div>';116 }117 112 118 $wp_list_table->views(); ?> 113 <form method="get" action=""> 114 <p class="search-box"> 115 <label class="screen-reader-text" for="theme-search-input"><?php _e( 'Search Themes' ); ?>:</label> 116 <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 117 <?php submit_button( __( 'Search Installed Themes' ), 'button', '', false ); ?> 118 </p> 119 </form> 119 120 121 <?php $wp_list_table->views(); ?> 122 120 123 <form method="post" action="site-themes.php?action=update-site"> 121 124 <?php wp_nonce_field( 'edit-site' ); ?> 122 125 <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />