Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#51954 closed defect (bug) (fixed)

Twenty Twenty-One: use esc_url for footer WordPress link

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

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 years ago.
Patch.

Download all attachments as: .zip

Change History (8)

#1 @poena
6 years 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 years ago by poena (previous) (diff)

#2 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.7

#3 @SergeyBiryukov
6 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 49762:

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

Props mukesh27, poena.
Fixes #51954.

#4 @poena
6 years ago

  • Milestone 5.7 → 5.6.1

#5 @desrosj
6 years ago

  • Keywords fixed-major added
  • Resolution fixed
  • Status closed → reopened

Reopening to backport.

#6 @desrosj
6 years ago

  • Resolution → fixed
  • Status reopened → 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
6 years 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.