v1.6.0
This commit is contained in:
parent
b2849880ec
commit
5589c54b9b
13 changed files with 138 additions and 58 deletions
|
|
@ -9,7 +9,7 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|||
exit;
|
||||
}
|
||||
|
||||
if ( ! get_option( 'robotstxt_manager_delete_data_on_uninstall', false ) ) {
|
||||
if ( ! get_site_option( 'robotstxt_manager_delete_data_on_uninstall', false ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -21,10 +21,10 @@ $option_keys = array(
|
|||
);
|
||||
|
||||
foreach ( $option_keys as $key ) {
|
||||
delete_option( $key );
|
||||
delete_site_option( $key );
|
||||
}
|
||||
|
||||
delete_transient( 'robotstxt_manager_catalog' );
|
||||
delete_site_transient( 'robotstxt_manager_catalog' );
|
||||
|
||||
// Purge the WordPress update transient: premium entries carry the API key
|
||||
// in their package URL. WordPress rebuilds it on the next update check.
|
||||
|
|
|
|||
Loading…
Reference in a new issue