Opened 2 years ago
Closed 2 years ago
#16000 closed defect (bug) (fixed)
'manage_pages_custom_column' actions no longer called for hierarchical post types
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description (last modified by duck_)
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)
- Description modified (diff)
- Keywords has-patch needs-testing added; hierarchical removed
- Milestone changed from Awaiting Review to 3.1
- Summary changed from 3.1-RC1 to 'manage_pages_custom_column' actions no longer called for hierarchical post types
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.