[wp-trac] [WordPress Trac] #30669: Admin (edit.php). Wrong post type when using restrict_manage_posts for two taxonomies

WordPress Trac noreply at wordpress.org
Tue Feb 3 07:17:23 UTC 2015


#30669: Admin (edit.php). Wrong post type when using restrict_manage_posts for two
taxonomies
-------------------------------+-----------------------------
 Reporter:  axeleus            |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.0.1
 Severity:  normal             |  Resolution:  worksforme
 Keywords:                     |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Hi

 With the code supplied, I'm unable to duplicate any issue.

 It looks like it could possibly be related to something you have altering
 the WP_Query through `pre_get_posts` or similar.
 If you're able to par down the code to a minimal example that can be used
 to reproduce this, feel free to re-open the ticket.

 It's also possible that something is altering the global `$post_type`
 variable on the `edit.php` page view, which ideally shouldn't happen
 either.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30669#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list