v1.8.3
This commit is contained in:
parent
6c6a7fca00
commit
7f89e98bbc
1 changed files with 2227 additions and 1853 deletions
|
|
@ -14,6 +14,9 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|||
|
||||
global $wpdb;
|
||||
|
||||
// User preferences are always removed: they are not user data, they are UI state.
|
||||
$wpdb->delete( $wpdb->usermeta, array( 'meta_key' => 'robotstxt_mediaaudit_manager_notice_dismissed' ) ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery,WordPress.DB.SlowDBQuery.slow_db_query_meta_key
|
||||
|
||||
if ( is_multisite() ) {
|
||||
// In Multisite, read the delete preference from the network settings option.
|
||||
$net_raw = get_site_option( 'robotstxt_mediaaudit_network_settings', array() );
|
||||
|
|
|
|||
Loading…
Reference in a new issue