From fba269f7f45f082f1b99b08072c574805b45f1e8 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 10 Dec 2009 23:02:47 +0000 Subject: [PATCH] Reverting [12331]. see #10057 git-svn-id: http://svn.automattic.com/wordpress/trunk@12368 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b4601af7f9..b17b409e0e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1836,7 +1836,7 @@ function wp_nonce_field( $action = -1, $name = "_wpnonce", $referer = true , $ec echo $nonce_field; if ( $referer ) - wp_original_referer_field( $echo, 'previous' ); + wp_referer_field( $echo, 'previous' ); return $nonce_field; } @@ -1854,7 +1854,7 @@ function wp_nonce_field( $action = -1, $name = "_wpnonce", $referer = true , $ec * @param bool $echo Whether to echo or return the referer field. * @return string Referer field. */ -function wp_referer_field( $echo = true ) { +function wp_referer_field( $echo = true) { $ref = esc_attr( $_SERVER['REQUEST_URI'] ); $referer_field = '';