Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38486, comment 4


Ignore:
Timestamp:
08/29/2017 01:42:57 PM (8 years ago)
Author:
FlorianBrinkmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38486, comment 4

    initial v1  
    11I have the same issue. The patch from @henry.wright fixes that the `current_page_parent` class is added incorrectly to the blog page menu item when viewing a CPT archive or single view. My patch 38486.2.diff goes further and adds the `current_page_parent` class to the post type archive menu item if a single view of this CPT is displayed.
     2
     3@welcher and/or @westonruter – could you take a look at the patch? Would be great to get a fix for that into core :)