This commit is contained in:
Javier Casares 2026-07-18 15:37:26 +00:00
commit 8d5551a8b5

View file

@ -31,17 +31,17 @@ if ( ! $noindex_seo_delete ) {
// User has opted in to full data removal — proceed with cleanup.
// Define contexts and directives.
// NOTE: this list must stay in sync with noindex_seo_get_contexts() in
// noindex-seo.php. The helper cannot be called here because the main plugin
// file is not loaded during uninstall.
$noindex_seo_contexts = array(
'error',
'archive',
'attachment',
'author',
'category',
'comment_feed',
'customize_preview',
'date',
'day',
'feed',
'front_page',
'home',
'month',
@ -50,13 +50,13 @@ $noindex_seo_contexts = array(
'post_type_archive',
'preview',
'privacy_policy',
'robots',
'search',
'single',
'singular',
'tag',
'time',
'year',
'error',
);
$noindex_seo_directives = array( 'noindex', 'nofollow', 'noarchive', 'nosnippet', 'noimageindex' );