WordPress.org

Make WordPress Core

Ticket #4221: 4221.docs.patch

File 4221.docs.patch, 608 bytes (added by c3mdigital, 22 months ago)

Change @return statement to document returned url is escaped

  • wp-includes/functions.php

     
    11711171 * @param string $actionurl URL to add nonce action. 
    11721172 * @param string $action Optional. Nonce action name. 
    11731173 * @param string $name Optional. Nonce name. 
    1174  * @return string URL with nonce action added. 
     1174 * @return string Escaped URL with nonce action added. 
    11751175 */ 
    11761176function wp_nonce_url( $actionurl, $action = -1, $name = '_wpnonce' ) { 
    11771177        $actionurl = str_replace( '&', '&', $actionurl );