#56667 closed defect (bug) (fixed)
Twenty Ten: Escape 'get_permalink' where appropriate in 'twentyten/functions.php'
Reported by: | hztyfoon | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
In 'wp-content/themes/twentyten/functions.php' there are multiple instances where I think esc_url should be used.
To me, it's also a basic safety practice to use 'esc_url' where appropriate.
So, I think they should be escaped.
Change History (11)
This ticket was mentioned in PR #3343 on WordPress/wordpress-develop by hz-tyfoon.
2 years ago
#1
- Keywords has-patch added
#4
@
2 years ago
Hi there! Welcome to the Trac.
Thanks for the Ticket and PR!
The PR looks good to me. Approved.
fuadragib01 commented on PR #3343:
2 years ago
#6
Ok, LGTM. Thank you @hz-tyfoon
#7
@
2 years ago
- Milestone changed from Awaiting Review to 6.1
- Summary changed from Coding Standards: Escape 'get_permalink' where appropriate in 'twentyten/functions.php' to Twenty Ten: Escape 'get_permalink' where appropriate in 'twentyten/functions.php'
#8
@
2 years ago
- Owner set to audrasjb
- Status changed from new to reviewing
Self assigning for commit consideration.
#9
@
2 years ago
- Keywords commit added
OK, this would bring more consistency with coding standards, add also with other bundled themes.
2 years ago
#11
committed in https://core.trac.wordpress.org/changeset/54341
Note: See
TracTickets for help on using
tickets.
…ityten)
Trac ticket: 56667