Make WordPress Core


Ignore:
Timestamp:
12/14/2015 02:42:29 AM (9 years ago)
Author:
johnbillion
Message:

Add missing @param docs to wp_safe_redirect() and wp_sanitize_redirect().

See #32246

File:
1 edited

Legend:

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

    r35913 r35914  
    12381238 * @since 2.3.0
    12391239 *
    1240  * @return string redirect-sanitized URL
     1240 * @param string $location The path to redirect to.
     1241 * @return string Redirect-sanitized URL.
    12411242 **/
    12421243function wp_sanitize_redirect($location) {
     
    12891290 *
    12901291 * @since 2.3.0
     1292 *
     1293 * @param string $location The path to redirect to.
     1294 * @param int    $status   Status code to use.
    12911295 */
    12921296function wp_safe_redirect($location, $status = 302) {
Note: See TracChangeset for help on using the changeset viewer.