Changeset 5428 for trunk/wp-includes/functions.php
- Timestamp:
- 05/10/2007 02:33:01 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r5415 r5428 1501 1501 1502 1502 if ( is_array( $defaults ) ) { 1503 extract( $defaults ); 1504 extract( $r ); 1505 // Note: this only returns the variables that were in $defaults 1506 // to begin with. All other variables are discarded. 1507 return compact( array_keys( $defaults ) ); 1503 return array_merge( $defaults, $r ); 1508 1504 } else { 1509 1505 return $r;
Note: See TracChangeset
for help on using the changeset viewer.