Changeset 48477 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 07/14/2020 12:31:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r48326 r48477 2168 2168 * 2169 2169 * @since 2.7.0 2170 * 2171 * @global array $new_whitelist_options 2170 * @since 5.5.0 `$new_whitelist_options` was renamed to `$new_allowed_options`. 2171 * Please consider writing more inclusive code. 2172 * 2173 * @global array $new_allowed_options 2172 2174 * 2173 2175 * @param array $options … … 2175 2177 */ 2176 2178 function option_update_filter( $options ) { 2177 global $new_ whitelist_options;2178 2179 if ( is_array( $new_ whitelist_options ) ) {2180 $options = add_allowed_options( $new_ whitelist_options, $options );2179 global $new_allowed_options; 2180 2181 if ( is_array( $new_allowed_options ) ) { 2182 $options = add_allowed_options( $new_allowed_options, $options ); 2181 2183 } 2182 2184
Note: See TracChangeset
for help on using the changeset viewer.