[wp-trac] [WordPress Trac] #16797: Edit Tags admin + custom post type + custom taxonomy

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 8 17:20:30 UTC 2011


#16797: Edit Tags admin + custom post type + custom taxonomy
--------------------------+-----------------------------
 Reporter:  kanuck54      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I've registered the custom post type `fp_toy`, and the custom taxonomy
 `fp_milestone`. Both have `show_ui` set to `true`. I have the
 `fp_milestone` taxonomy associated with both `fp_toy` and `post`.

 If I click Toys > Milestones in the admin, the URL is `edit-
 tags.php?taxonomy=fp_milestone&post_type=fp_toy`; but in the navigation
 menu, it appears that I'm in Posts > Milestones. (This is minor, but may
 help with diagnosis.)

 Worse, in the list of Milestones, I see an automatically populated column
 named "Toy," which would be correct if it were indicating the number of
 Toys per Milestone; but it is counting `all` posts associated with a
 Milestone, not just those with a `post_type` of `fp_toy`.

 Worst of all, clicking this (incorrect) post count should take me to
 `edit.php?fp_milestone=create&post_type=fp_toy`; instead it's taking me to
 `edit.php?fp_milestone=create&post_type=post`. The result is that I have
 no way (without URL manipulation) to see all Toys for a given Milestone.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16797>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list