[wp-trac] [WordPress Trac] #12966: get_post_types returning more than desired results
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 12 18:45:52 UTC 2010
#12966: get_post_types returning more than desired results
--------------------------+-------------------------------------------------
Reporter: michaelh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by sivel):
> I took it a step further and created a more general function that's used
by both get_post_types() and get_taxonomies().
At least we took the same approach to fixing it. Good catch on
taxonomies, I had only been working on post types and it didn't occur to
me to test taxonomies.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12966#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list