[wp-trac] [WordPress Trac] #19148: get_post_types returning more than desired, custom post type objects contain taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 5 23:01:33 UTC 2011
#19148: get_post_types returning more than desired, custom post type objects
contain taxonomies
--------------------------+------------------------------
Reporter: Ov3rfly | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by MZAWeb):
Replying to [comment:3 nacin]:
> This data ia stored in only one place (in the taxonomy object) for a
reason.
Why would that reason be? (just asking, really)
Replying to [comment:5 Ov3rfly]:
> It seems that builtin post types do not contain taxonomies in the post
type objects returned by get_post_types(), but custom post types do. This
is not consistent.
I'm seeing the same behavior. My patch fixes that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19148#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list