Changeset 5706
- Timestamp:
- 06/14/2007 05:12:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/functions.php
r5703 r5706 762 762 $ret = ''; 763 763 if ( is_array(func_get_arg(0)) ) { 764 if ( @func_num_args() < 2 || ''== @func_get_arg(1) )764 if ( @func_num_args() < 2 || false === @func_get_arg(1) ) 765 765 $uri = $_SERVER['REQUEST_URI']; 766 766 else 767 767 $uri = @func_get_arg(1); 768 768 } else { 769 if ( @func_num_args() < 3 || ''== @func_get_arg(2) )769 if ( @func_num_args() < 3 || false === @func_get_arg(2) ) 770 770 $uri = $_SERVER['REQUEST_URI']; 771 771 else … … 839 839 */ 840 840 841 function remove_query_arg($key, $query= '') {841 function remove_query_arg($key, $query=FALSE) { 842 842 if ( is_array($key) ) { // removing multiple keys 843 843 foreach ( (array) $key as $k )
Note: See TracChangeset
for help on using the changeset viewer.