Changeset 30673 for trunk/src/wp-includes/option.php
- Timestamp:
- 11/30/2014 10:55:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r30652 r30673 344 344 * @since 1.0.0 345 345 * 346 * @param string $optionName of option to add. Expected to not be SQL-escaped.347 * @param mixed $valueOptional. Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.348 * @param mixed $deprecatedOptional. Description. Not used anymore.349 * @param bool $autoloadOptional. Default is enabled. Whether to load the option when WordPress starts up.346 * @param string $option Name of option to add. Expected to not be SQL-escaped. 347 * @param mixed $value Optional. Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped. 348 * @param string $deprecated Optional. Description. Not used anymore. 349 * @param string|bool $autoload Optional. Default is enabled. Whether to load the option when WordPress starts up. 350 350 * @return bool False if option was not added and true if option was added. 351 351 */ … … 776 776 * @param string $name The name of the setting. 777 777 * @param string $value The value for the setting. 778 * @return bool true if set successfully/false if not.778 * @return null|bool true if set successfully/false if not. 779 779 */ 780 780 function set_user_setting( $name, $value ) { … … 798 798 * @since 2.7.0 799 799 * 800 * @param mixed$names The name or array of names of the setting to be deleted.801 * @return bool true if deleted successfully/false if not.800 * @param string $names The name or array of names of the setting to be deleted. 801 * @return null|bool true if deleted successfully/false if not. 802 802 */ 803 803 function delete_user_setting( $names ) { … … 869 869 * 870 870 * @param array $user_settings 871 * @return bool871 * @return null|bool 872 872 */ 873 873 function wp_set_all_user_settings( $user_settings ) {
Note: See TracChangeset
for help on using the changeset viewer.