Opened 3 years ago
Closed 3 years ago
#13245 closed enhancement (fixed)
Add trailing slash to home_url() path
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Template | Version: | 3.0 |
| Severity: | normal | Keywords: | 2nd-opinion has-patch |
| Cc: | zeo@… |
Description
Add missing trailing slash in home_url() path and some clean up.
Attachments (1)
Change History (6)
- Keywords 2nd-opinion has-patch added
- Owner 2nd-opinion has-patch deleted
- Status changed from new to assigned
- Keywords has-patch added; needs-refresh removed
Oops I think I previously send a wrong patch. Attached is the correct one according to title.
That default-widgets, feed-atom-comments, and author-template is for #9008. Sorry.
Note: See
TracTickets for help on using
tickets.

The change in default-widgets is invalid -- that's JS that we don't want escaped or filtered quite like that.
Also, get_search_query() in that case should actually be unescaped, then escaped, like: esc_url( home_url( '/?s=' . get_search_query( false ) ) ); (I think).