Make WordPress Core

Changeset 14522


Ignore:
Timestamp:
05/09/2010 07:22:10 AM (14 years ago)
Author:
markjaquith
Message:

Omit extraneous argument. props coffee2code. fixes #10057

File:
1 edited

Legend:

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

    r14515 r14522  
    19121912
    19131913    if ( $referer )
    1914         wp_referer_field( $echo, 'previous' );
     1914        wp_referer_field( $echo );
    19151915
    19161916    return $nonce_field;
     
    19301930 * @return string Referer field.
    19311931 */
    1932 function wp_referer_field( $echo = true) {
     1932function wp_referer_field( $echo = true ) {
    19331933    $ref = esc_attr( $_SERVER['REQUEST_URI'] );
    19341934    $referer_field = '<input type="hidden" name="_wp_http_referer" value="'. $ref . '" />';
Note: See TracChangeset for help on using the changeset viewer.