Don't filter taxonomy list. see #18983

git-svn-id: http://svn.automattic.com/wordpress/trunk@18990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-10-18 16:33:31 +00:00
parent c50a7acfc5
commit 3dc95bc55a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ require_once('./admin.php');
if ( ! isset( $_GET['taxonomy'] ) ) if ( ! isset( $_GET['taxonomy'] ) )
$taxonomy = 'post_tag'; $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'] ); $taxonomy = sanitize_key( $_GET['taxonomy'] );
else else
wp_die( __( 'Invalid taxonomy' ) ); wp_die( __( 'Invalid taxonomy' ) );