[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:17:49 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
-------------------------------------------------+-------------------------
Comment (by audrasjb):
Sounds great @afercia ;-)
I successfully tested the patch and added `get_queried_object_id()` which
is exactly what's needed here.
Patch refreshed in `47094.4.diff`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47094#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list