Changeset 19253
- Timestamp:
- 11/11/2011 03:44:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r19119 r19253 10 10 require_once('./admin.php'); 11 11 12 if ( ! isset( $_GET['taxonomy'] ) ) 13 $taxonomy = 'post_tag'; 14 elseif ( in_array( $_GET['taxonomy'], get_taxonomies() ) ) 15 $taxonomy = sanitize_key( $_GET['taxonomy'] ); 16 else 12 if ( ! $taxnow ) 17 13 wp_die( __( 'Invalid taxonomy' ) ); 18 14 19 $_GET['taxonomy'] = $taxonomy; 20 21 $tax = get_taxonomy( $taxonomy ); 15 $tax = get_taxonomy( $taxnow ); 22 16 23 17 if ( ! $tax )
Note: See TracChangeset
for help on using the changeset viewer.