Changeset 59940
- Timestamp:
- 03/05/2025 10:57:23 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r59865 r59940 690 690 * @global wpdb $wpdb WordPress database abstraction object. 691 691 * 692 * @param int 692 * @param int|null $network_id ID of the network. Can be null to default to the current network ID. 693 693 * @param string[] $options An array of option names to be loaded. 694 694 */ … … 1994 1994 * @global wpdb $wpdb WordPress database abstraction object. 1995 1995 * 1996 * @param int 1997 * @param string $option Name of the option to retrieve. Expected to not be SQL-escaped.1998 * @param mixed $default_value Optional. Value to return if the option doesn't exist. Default false.1996 * @param int|null $network_id ID of the network. Can be null to default to the current network ID. 1997 * @param string $option Name of the option to retrieve. Expected to not be SQL-escaped. 1998 * @param mixed $default_value Optional. Value to return if the option doesn't exist. Default false. 1999 1999 * @return mixed Value set for the option. 2000 2000 */ … … 2128 2128 * @global wpdb $wpdb WordPress database abstraction object. 2129 2129 * 2130 * @param int 2131 * @param string $option Name of the option to add. Expected to not be SQL-escaped.2132 * @param mixed $value Option value, can be anything. Expected to not be SQL-escaped.2130 * @param int|null $network_id ID of the network. Can be null to default to the current network ID. 2131 * @param string $option Name of the option to add. Expected to not be SQL-escaped. 2132 * @param mixed $value Option value, can be anything. Expected to not be SQL-escaped. 2133 2133 * @return bool True if the option was added, false otherwise. 2134 2134 */ … … 2255 2255 * @global wpdb $wpdb WordPress database abstraction object. 2256 2256 * 2257 * @param int 2258 * @param string $option Name of the option to delete. Expected to not be SQL-escaped.2257 * @param int|null $network_id ID of the network. Can be null to default to the current network ID. 2258 * @param string $option Name of the option to delete. Expected to not be SQL-escaped. 2259 2259 * @return bool True if the option was deleted, false otherwise. 2260 2260 */ … … 2359 2359 * @global wpdb $wpdb WordPress database abstraction object. 2360 2360 * 2361 * @param int 2362 * @param string $option Name of the option. Expected to not be SQL-escaped.2363 * @param mixed $value Option value. Expected to not be SQL-escaped.2361 * @param int|null $network_id ID of the network. Can be null to default to the current network ID. 2362 * @param string $option Name of the option. Expected to not be SQL-escaped. 2363 * @param mixed $value Option value. Expected to not be SQL-escaped. 2364 2364 * @return bool True if the value was updated, false otherwise. 2365 2365 */
Note: See TracChangeset
for help on using the changeset viewer.