mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1411,6 +1411,7 @@ function wp_original_referer_field( $echo = true, $jump_back_to = 'current' ) {
|
||||
|
||||
|
||||
function wp_get_referer() {
|
||||
$ref = '';
|
||||
if ( ! empty( $_REQUEST['_wp_http_referer'] ) )
|
||||
$ref = $_REQUEST['_wp_http_referer'];
|
||||
else if ( ! empty( $_SERVER['HTTP_REFERER'] ) )
|
||||
|
||||
Reference in New Issue
Block a user