Don't filter taxonomy list. see #18983

git-svn-id: https://develop.svn.wordpress.org/trunk@18990 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-10-18 16:33:31 +00:00
parent 12dd9663fc
commit 421ee5ebdd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ require_once('./admin.php');
if ( ! isset( $_GET['taxonomy'] ) )
$taxonomy = 'post_tag';
elseif ( in_array( $_GET['taxonomy'], get_taxonomies( array('show_ui' => true ) ) ) )
elseif ( in_array( $_GET['taxonomy'], get_taxonomies() ) )
$taxonomy = sanitize_key( $_GET['taxonomy'] );
else
wp_die( __( 'Invalid taxonomy' ) );