[wp-trac] [WordPress Trac] #16951: register_taxonomy_for_object_type() sets duplicate values
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 23 18:52:04 UTC 2011
#16951: register_taxonomy_for_object_type() sets duplicate values
--------------------------+------------------------------
Reporter: kevinB | Owner: scribu
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.1
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by kevinB):
It can cause redundant processing or duplicate/erroneous UI generation in
taxonomy-related plugins.
You're right to flag it as minor, but it's also a minor fix. My thinking
is if $tx->object_type is supported API, are duplicate object_type values
ever appropriate and if not, why leave validation to the client?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16951#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list