Changeset 21298
- Timestamp:
- 07/21/2012 06:07:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r21184 r21298 639 639 $ret = ''; 640 640 if ( is_array( func_get_arg(0) ) ) { 641 if ( @func_num_args() < 2 || false === @func_get_arg( 1 ) )641 if ( func_num_args() < 2 || false === func_get_arg( 1 ) ) 642 642 $uri = $_SERVER['REQUEST_URI']; 643 643 else 644 $uri = @func_get_arg( 1 );644 $uri = func_get_arg( 1 ); 645 645 } else { 646 if ( @func_num_args() < 3 || false === @func_get_arg( 2 ) )646 if ( func_num_args() < 3 || false === func_get_arg( 2 ) ) 647 647 $uri = $_SERVER['REQUEST_URI']; 648 648 else 649 $uri = @func_get_arg( 2 );649 $uri = func_get_arg( 2 ); 650 650 } 651 651
Note: See TracChangeset
for help on using the changeset viewer.