[wp-trac] [WordPress Trac] #47094: Widgets: current-page links are not programmatically labelled as such

WordPress Trac noreply at wordpress.org
Sat Sep 14 06:15:38 UTC 2019


#47094: Widgets: current-page links are not programmatically labelled as such
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Widgets                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  dev-note wpcampus-report aria-current          |  accessibility
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * Attachment "47094.4.diff" added.

 replaces is_single()&&get_the_ID() check with get_queried_object_ID()
 single check

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47094>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list