#56667 closed defect (bug) (fixed)
Twenty Ten: Escape 'get_permalink' where appropriate in 'twentyten/functions.php'
| Reported by: | hztyfoon | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | coding-standards |
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.
4 years ago
#1
- Keywords has-patch added
#4
@
4 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:
4 years ago
#6
Ok, LGTM. Thank you @hz-tyfoon
#7
@
4 years ago
- Milestone Awaiting Review → 6.1
- Summary Coding Standards: Escape 'get_permalink' where appropriate in 'twentyten/functions.php' → Twenty Ten: Escape 'get_permalink' where appropriate in 'twentyten/functions.php'
#9
@
4 years ago
- Keywords commit added
OK, this would bring more consistency with coding standards, add also with other bundled themes.
4 years ago
#11
committed in https://core.trac.wordpress.org/changeset/54341
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
…ityten)
Trac ticket: 56667