mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: There are quite alot of typos in core inline comments.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1015,7 +1015,7 @@ function get_search_link( $query = '' ) {
|
||||
$link = home_url('?s=' . urlencode($search) );
|
||||
} else {
|
||||
$search = urlencode($search);
|
||||
$search = str_replace('%2F', '/', $search); // %2F(/) is not valid within a URL, send it unencoded.
|
||||
$search = str_replace('%2F', '/', $search); // %2F(/) is not valid within a URL, send it un-encoded.
|
||||
$link = str_replace( '%search%', $search, $permastruct );
|
||||
$link = home_url( user_trailingslashit( $link, 'search' ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user