Changeset 48575 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 07/23/2020 03:12:49 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/upgrade.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r48405 r48575 2178 2178 wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' ); 2179 2179 2180 // Use more clear and inclusive language.2181 $blocklist = get_option( 'blacklist_keys', '' );2182 update_option( 'blocklist_keys', $blocklist );2183 delete_option( 'blacklist_keys' );2184 2185 2180 $comment_previously_approved = get_option( 'comment_whitelist', '' ); 2186 2181 update_option( 'comment_previously_approved', $comment_previously_approved ); 2187 2182 delete_option( 'comment_whitelist' ); 2183 } 2184 2185 if ( $wp_current_db_version < 48572 ) { 2186 // Use more clear and inclusive language. 2187 $disallowed_list = get_option( 'blacklist_keys' ); 2188 2189 if ( false === $disallowed_list ) { 2190 $disallowed_list = get_option( 'blocklist_keys' ); 2191 } 2192 2193 update_option( 'disallowed_keys', $disallowed_list ); 2194 delete_option( 'blacklist_keys' ); 2195 delete_option( 'blocklist_keys' ); 2188 2196 } 2189 2197 }
Note: See TracChangeset
for help on using the changeset viewer.