﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20929	wp_list_filter Notice	wpsmith	nacin	"If someone wanted to add an argument for easy filtering on a taxonomy and then used get_taxonomies to query that non-standard key, it generates notices.

E.g., Given labels,

{{{
$args = array( 'mycustomkey' => true, 'hierarchical' => 0, 'rewrite' => array( 'slug' ), );
register_taxonomy( 'my_taxonomy', array( 'my_post_type' ), $args);
}}}


Then later, if I used:

{{{
 get_taxonomies( array( 'mycustomkey' => true ) );
}}}

it generates:

{{{
Notice: Undefined index: mycustomkey in C:\xampp\htdocs\www\sandbox\wp-includes\functions.php on line 2499.
}}}


This is a simple fix: 
{{{
if ( isset($to_match[ $m_key ]) && $m_value == $to_match[ $m_key ] )
}}}"	defect (bug)	closed	normal	3.5	Taxonomy		normal	fixed	has-patch needs-refresh	bpetty kpayne@…
