Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#54429 closed defect (bug) (fixed)

Skip link focus fix is output twice in Twenty Twenty-One if SCRIPT_DEBUG is enabled

Reported by: westonruter's profile westonruter Owned by: westonruter's profile westonruter
Milestone: 5.9 Priority: normal
Severity: normal Version: 5.6
Component: Bundled Theme Keywords: has-patch
Focuses: javascript Cc:


There is a missing else statement in twenty_twenty_one_skip_link_focus_fix().

Change History (4)

#1 @westonruter
3 years ago

  • Owner set to westonruter
  • Status changed from new to accepted

This ticket was mentioned in PR #1875 on WordPress/wordpress-develop by westonruter.

3 years ago

  • Keywords has-patch added

#3 @westonruter
3 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 52147:

Twenty Twenty-One: Prevent printing skip link focus fix when SCRIPT_DEBUG is enabled.

An else statement was missing in twenty_twenty_one_skip_link_focus_fix(). See

Fixes #54429.

westonruter commented on PR #1875:

3 years ago

Committed to trunk in r52147.

Note: See TracTickets for help on using tickets.