Ticket #45581: #45581.patch
| File #45581.patch, 2.1 KB (added by , 7 years ago) |
|---|
-
src/wp-includes/option.php
1193 1193 * 1194 1194 * @see get_option() 1195 1195 * 1196 * @global wpdb $wpdb 1196 * @global wpdb $wpdb WordPress database abstraction object. 1197 1197 * 1198 1198 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1199 1199 * @param string $option Name of option to retrieve. Expected to not be SQL-escaped. … … 1326 1326 * 1327 1327 * @see add_option() 1328 1328 * 1329 * @global wpdb $wpdb 1329 * @global wpdb $wpdb WordPress database abstraction object. 1330 1330 * 1331 1331 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1332 1332 * @param string $option Name of option to add. Expected to not be SQL-escaped. … … 1448 1448 * 1449 1449 * @see delete_option() 1450 1450 * 1451 * @global wpdb $wpdb 1451 * @global wpdb $wpdb WordPress database abstraction object. 1452 1452 * 1453 1453 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1454 1454 * @param string $option Name of option to remove. Expected to not be SQL-escaped. … … 1541 1541 * 1542 1542 * @see update_option() 1543 1543 * 1544 * @global wpdb $wpdb 1544 * @global wpdb $wpdb WordPress database abstraction object. 1545 1545 * 1546 1546 * @param int $network_id ID of the network. Can be null to default to the current network ID. 1547 1547 * @param string $option Name of option. Expected to not be SQL-escaped. … … 2172 2172 * @since 4.7.0 `$sanitize_callback` was deprecated. The callback from `register_setting()` is now used instead. 2173 2173 * 2174 2174 * @global array $new_whitelist_options 2175 * @global array $wp_registered_settings 2175 2176 * 2176 2177 * @param string $option_group The settings group name used during registration. 2177 2178 * @param string $option_name The name of the option to unregister. … … 2244 2245 * 2245 2246 * @since 4.7.0 2246 2247 * 2248 * @global array $wp_registered_settings 2249 * 2247 2250 * @return array List of registered settings, keyed by option name. 2248 2251 */ 2249 2252 function get_registered_settings() {