Update @return statement of wp_nonce_url(): The URL is escaped.
props c3mdigital. see #4221. Built from https://develop.svn.wordpress.org/trunk@27070 git-svn-id: http://core.svn.wordpress.org/trunk@26943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1194,7 +1194,7 @@ function is_blog_installed() {
|
||||
* @param string $actionurl URL to add nonce action.
|
||||
* @param string $action Optional. Nonce action name.
|
||||
* @param string $name Optional. Nonce name.
|
||||
* @return string URL with nonce action added.
|
||||
* @return string Escaped URL with nonce action added.
|
||||
*/
|
||||
function wp_nonce_url( $actionurl, $action = -1, $name = '_wpnonce' ) {
|
||||
$actionurl = str_replace( '&', '&', $actionurl );
|
||||
|
||||
Reference in New Issue
Block a user