Changeset 25401 for branches/3.6/wp-includes/functions.php
- Timestamp:
- 09/12/2013 01:38:42 PM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
- Property svn:mergeinfo changed
/trunk/src merged: 25399-25400
- Property svn:mergeinfo changed
-
branches/3.6/wp-includes/functions.php
r25345 r25401 1296 1296 */ 1297 1297 function wp_get_referer() { 1298 if ( ! function_exists( 'wp_validate_redirect' ) ) 1299 return false; 1298 1300 $ref = false; 1299 1301 if ( ! empty( $_REQUEST['_wp_http_referer'] ) ) … … 1317 1319 */ 1318 1320 function wp_get_original_referer() { 1319 if ( ! empty( $_REQUEST['_wp_original_http_referer']) )1321 if ( ! empty( $_REQUEST['_wp_original_http_referer'] ) && function_exists( 'wp_validate_redirect' ) ) 1320 1322 return wp_validate_redirect( wp_unslash( $_REQUEST['_wp_original_http_referer'] ), false ); 1321 1323 return false;
Note: See TracChangeset
for help on using the changeset viewer.