[wp-trac] [WordPress Trac] #63261: Menu items incorrectly marked as current when page and taxonomy share the same object_id

WordPress Trac noreply at wordpress.org
Thu May 22 11:55:35 UTC 2025


#63261: Menu items incorrectly marked as current when page and taxonomy share the
same object_id
-------------------------------------------------+-------------------------
 Reporter:  nuadagency                           |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  Menus                                |     Version:  6.7.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch reporter-feedback needs-   |     Focuses:
  test-info                                      |  accessibility
-------------------------------------------------+-------------------------

Comment (by SirLouen):

 @nuadagency can you check in the WooCommerce code to see if there are
 references to the given HTML devices like `current-menu-item` and `aria-
 current`? Maybe there is some code duplicating this behaviour.

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


More information about the wp-trac mailing list