Changeset 18567
- Timestamp:
- 08/18/2011 06:17:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r18559 r18567 587 587 * @param mixed $deprecated Optional. Description. Not used anymore. 588 588 * @param bool $autoload Optional. Default is enabled. Whether to load the option when WordPress starts up. 589 * @return null returns when finished.589 * @return bool False if option was not added and true if option was added. 590 590 */ 591 591 function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' ) { … … 610 610 if ( !is_array( $notoptions ) || !isset( $notoptions[$option] ) ) 611 611 if ( false !== get_option( $option ) ) 612 return ;612 return false; 613 613 614 614 $_value = $value;
Note: See TracChangeset
for help on using the changeset viewer.