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:
parent
12dd9663fc
commit
421ee5ebdd
|
@ -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