Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks 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 Owned by: 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 weeks 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 weeks ago

  • Keywords has-patch added

#3 @westonruter
3 weeks 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 https://github.com/WordPress/twentytwentyone/pull/585/commits/ba83586ff1426fc4a0248f45d27ad0b4f5b7bbd4.

Fixes #54429.

#4 @prbot
3 weeks ago

westonruter commented on PR #1875:

Committed to trunk in r52147.

Note: See TracTickets for help on using tickets.