Make WordPress Core

Changeset 27070


Ignore:
Timestamp:
02/02/2014 10:52:33 AM (10 years ago)
Author:
ocean90
Message:

Update @return statement of wp_nonce_url(): The URL is escaped.

props c3mdigital.
see #4221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r27056 r27070  
    11951195 * @param string $action Optional. Nonce action name.
    11961196 * @param string $name Optional. Nonce name.
    1197  * @return string URL with nonce action added.
     1197 * @return string Escaped URL with nonce action added.
    11981198 */
    11991199function wp_nonce_url( $actionurl, $action = -1, $name = '_wpnonce' ) {
Note: See TracChangeset for help on using the changeset viewer.