Changeset 48142 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 06/23/2020 06:53:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r48121 r48142 4043 4043 * 4044 4044 * @since 2.7.0 4045 * @deprecated 5.5.0 Use add_ option_allowed_list() instead.4045 * @deprecated 5.5.0 Use add_allowed_options() instead. 4046 4046 * Please consider writing more inclusive code. 4047 4047 * … … 4053 4053 */ 4054 4054 function add_option_whitelist( $new_options, $options = '' ) { 4055 _deprecated_function( __FUNCTION__, '5.5.0', 'add_ option_allowed_list()' );4056 4057 return add_ option_allowed_list( $new_options, $options );4055 _deprecated_function( __FUNCTION__, '5.5.0', 'add_allowed_options()' ); 4056 4057 return add_allowed_options( $new_options, $options ); 4058 4058 } 4059 4059
Note: See TracChangeset
for help on using the changeset viewer.