Changeset 5705
- Timestamp:
- 06/14/2007 05:12:22 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5704 r5705 565 565 $ret = ''; 566 566 if ( is_array(func_get_arg(0)) ) { 567 if ( @func_num_args() < 2 || ''== @func_get_arg(1) )567 if ( @func_num_args() < 2 || false === @func_get_arg(1) ) 568 568 $uri = $_SERVER['REQUEST_URI']; 569 569 else 570 570 $uri = @func_get_arg(1); 571 571 } else { 572 if ( @func_num_args() < 3 || ''== @func_get_arg(2) )572 if ( @func_num_args() < 3 || false === @func_get_arg(2) ) 573 573 $uri = $_SERVER['REQUEST_URI']; 574 574 else … … 642 642 */ 643 643 644 function remove_query_arg($key, $query= '') {644 function remove_query_arg($key, $query=FALSE) { 645 645 if ( is_array($key) ) { // removing multiple keys 646 646 foreach ( (array) $key as $k )
Note: See TracChangeset
for help on using the changeset viewer.