WordPress.org

Make WordPress Core

Opened 6 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#51954 closed defect (bug) (fixed)

Twenty Twenty-One: use esc_url for footer WordPress link

Reported by: mukesh27 Owned by: SergeyBiryukov
Milestone: 5.6.1 Priority: normal
Severity: normal Version: 5.6
Component: Bundled Theme Keywords: has-patch, fixed-major, twenty-twenty-one-1.1
Focuses: Cc:

Description

For twentytwentyone/footer.php WordPress link currently used esc_attr instead of esc_url

Attachments (1)

51954.diff (625 bytes) - added by mukesh27 6 weeks ago.
Patch.

Download all attachments as: .zip

Change History (8)

@mukesh27
6 weeks ago

Patch.

#1 @poena
6 weeks ago

This error is valid and embarrassing.

The patch would solve it -does it need to be made from the root directory, not wp-content?
I'll let a committer decide that.

Last edited 6 weeks ago by poena (previous) (diff)

#2 @SergeyBiryukov
6 weeks ago

  • Milestone changed from Awaiting Review to 5.7

#3 @SergeyBiryukov
6 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 49762:

Twenty Twenty-One: Use esc_url() for the WordPress.org link in footer.php.

Props mukesh27, poena.
Fixes #51954.

#4 @poena
4 weeks ago

  • Milestone changed from 5.7 to 5.6.1

#5 @desrosj
4 weeks ago

  • Keywords fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening to backport.

#6 @desrosj
4 weeks ago

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

In 49853:

Twenty Twenty-One: Use esc_url() for the WordPress.org link in footer.php.

Props mukesh27, poena.
Merges [49762] into the 5.6 branch.
Fixes #51954.

#7 @desrosj
4 weeks ago

  • Keywords twenty-twenty-one-1.1 added

Adding a custom keyword for querying tickets included in the Twenty Twenty-One version 1.1 release in the future.

Note: See TracTickets for help on using tickets.