2172 | | // Use more clear and inclusive language. |
2173 | | $blocklist = get_option( 'blacklist_keys', '' ); |
2174 | | update_option( 'blocklist_keys', $blocklist ); |
2175 | | delete_option( 'blacklist_keys' ); |
2176 | | |
2177 | | $comment_previously_approved = get_option( 'comment_whitelist', '' ); |
2178 | | update_option( 'comment_previously_approved', $comment_previously_approved ); |
2179 | | delete_option( 'comment_whitelist' ); |
| 2174 | if ( $wp_current_db_version < 48121 ) { |
| 2175 | // Use more clear and inclusive language. |
| 2176 | $blocklist = get_option( 'blacklist_keys', '' ); |
| 2177 | update_option( 'blocklist_keys', $blocklist ); |
| 2178 | delete_option( 'blacklist_keys' ); |
| 2179 | |
| 2180 | $comment_previously_approved = get_option( 'comment_whitelist', '' ); |
| 2181 | update_option( 'comment_previously_approved', $comment_previously_approved ); |
| 2182 | delete_option( 'comment_whitelist' ); |
| 2183 | } |