Opened 14 years ago
Closed 14 years ago
#16000 closed defect (bug) (fixed)
'manage_pages_custom_column' actions no longer called for hierarchical post types
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Administration | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description (last modified by )
I have a CUSTOM POST TYPE with hierarchical property set to true.
My custom taxonomies fields associated with my custom post type don't display with manage_pages_custom_column, but they do with manage_posts_custom_column on the admin edit page for the custom post type i created.
It should be the other way around, should it not?
When you use register_post_type() and set to hierarchical property to true,then you use manage_pages_custom_column, and not manage_post_custom_column, right?
It was working before i installed WP 3.1 RC1
Not sure if this is a ubiquitous error or just on my test setup.
Just a possible heads up...
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Disappeared since the check is for post type being 'page' and not hierarchical. Patch attached, untested.
You should probably use
manage_{$post->post_type}_posts_custom_column
unless the taxonomy is registered to more than one post type.