Changeset 5428
- Timestamp:
- 05/10/07 02:33:01 (2 years ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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;
