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:
parent
c50a7acfc5
commit
3dc95bc55a
|
@ -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' ) );
|
||||
|
|
Loading…
Reference in New Issue