From 6584c363d9cfe6d89cae3804865d32195620fdb4 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Mon, 7 Dec 2009 17:57:48 +0000 Subject: [PATCH] Yes, I did mean original... props coffee2code. fixes #10057 git-svn-id: http://svn.automattic.com/wordpress/trunk@12331 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 b17b409e0..b4601af7f 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_referer_field( $echo, 'previous' ); + wp_original_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 = '';