[wp-trac] [WordPress Trac] #39800: current_item_{parent|ancestor} Not set for Post Type Archive Items

WordPress Trac noreply at wordpress.org
Fri Jun 23 02:43:01 UTC 2017


#39800: current_item_{parent|ancestor} Not set for Post Type Archive Items
---------------------------------------------+-----------------------
 Reporter:  mrwweb                           |       Owner:  welcher
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  4.9
Component:  Menus                            |     Version:  4.7.2
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by welcher):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests commit
 * owner:   => welcher
 * status:  new => accepted
 * milestone:  Future Release => 4.9


Comment:

 @mrwweb thanks for your patience on this one. I wrote up some unit tests
 for this and uploaded a new patch. The tests pass with your patch and fail
 without. The filenames are a bit off but the 39800.2.diff file is the one
 I added.

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


More information about the wp-trac mailing list