[wp-trac] [WordPress Trac] #13245: Add trailing slash to home_url() path
WordPress Trac
wp-trac at lists.automattic.com
Tue May 4 04:53:48 UTC 2010
#13245: Add trailing slash to home_url() path
-------------------------+--------------------------------------------------
Reporter: zeo | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: normal | Keywords: 2nd-opinion has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
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).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13245#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list