Changeset 9028 for trunk/wp-admin/edit-tags.php
- Timestamp:
- 09/29/2008 09:26:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r9016 r9028 12 12 $title = __('Tags'); 13 13 14 wp_reset_vars( array('action', 'tag'));15 16 if ( isset( $_GET['action'] ) && $_GET['action'] == 'delete' && isset($_GET['delete_tags']) )14 wp_reset_vars( array('action', 'tag') ); 15 16 if ( isset( $_GET['action'] ) && isset($_GET['delete_tags']) && ( 'delete' == $_GET['action'] || 'delete' == $_GET['action2'] ) ) 17 17 $action = 'bulk-delete'; 18 18 … … 108 108 default: 109 109 110 if ( !empty($_GET['_wp_http_referer']) ) {111 wp_redirect( remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI'])));110 if ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) { 111 wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) ); 112 112 exit; 113 113 } … … 188 188 </tr> 189 189 </thead> 190 191 <tfoot> 192 <tr> 193 <?php print_column_headers('tag', false); ?> 194 </tr> 195 </tfoot> 196 190 197 <tbody id="the-list" class="list:tag"> 191 198 <?php … … 198 205 </table> 199 206 200 </form>201 202 207 <div class="tablenav"> 203 204 208 <?php 205 209 if ( $page_links ) 206 210 echo "<div class='tablenav-pages'>$page_links</div>"; 207 211 ?> 208 <br class="clear" /> 209 </div> 210 <br class="clear" /> 212 213 <div class="alignleft"> 214 <select name="action2"> 215 <option value="" selected><?php _e('Actions'); ?></option> 216 <option value="delete"><?php _e('Delete'); ?></option> 217 </select> 218 <input type="submit" value="<?php _e('Apply'); ?>" name="doaction2" id="doaction2" class="button-secondary action" /> 219 </div> 220 221 <br class="clear" /> 222 </div> 223 224 <br class="clear" /> 225 </form> 211 226 212 227 </div>
Note: See TracChangeset
for help on using the changeset viewer.