rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -58,6 +58,7 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
'enable_xml_sitemap' => true,
'enable_text_link_counter' => true,
'enable_index_now' => true,
'enable_ai_generator' => false,
'show_onboarding_notice' => false,
'first_activated_on' => false,
'myyoast-oauth' => [
@@ -88,7 +89,6 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
'configuration_finished_steps' => [],
'dismiss_configuration_workout_notice' => false,
'dismiss_premium_deactivated_notice' => false,
'dismiss_old_premium_version_notice' => '',
'importing_completed' => [],
'wincher_integration_active' => true,
'wincher_tokens' => [],
@@ -126,6 +126,7 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
'search_character_limit' => 50,
'deny_search_crawling' => false,
'deny_wp_json_crawling' => false,
'deny_adsbot_crawling' => false,
'redirect_search_pretty_urls' => false,
'least_readability_ignore_list' => [],
'least_seo_score_ignore_list' => [],
@@ -136,6 +137,9 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
'last_known_public_post_types' => [],
'last_known_public_taxonomies' => [],
'last_known_no_unindexed' => [],
'new_post_types' => [],
'new_taxonomies' => [],
'show_new_content_type_notification' => false,
];
/**
@@ -325,7 +329,6 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
case 'wincher_website_id':
case 'clean_permalinks_extra_variables':
case 'indexables_overview_state':
case 'dismiss_old_premium_version_notice':
if ( isset( $dirty[ $key ] ) ) {
$clean[ $key ] = $dirty[ $key ];
}
@@ -409,6 +412,8 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
case 'indexables_page_reading_list':
case 'last_known_public_post_types':
case 'last_known_public_taxonomies':
case 'new_post_types':
case 'new_taxonomies':
$clean[ $key ] = $old[ $key ];
if ( isset( $dirty[ $key ] ) ) {
@@ -505,8 +510,10 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
* 'search_cleanup_emoji'
* 'search_cleanup_patterns'
* 'deny_wp_json_crawling'
* 'deny_adsbot_crawling'
* 'redirect_search_pretty_urls'
* 'should_redirect_after_install_free'
* 'show_new_content_type_notification'
* and most of the feature variables.
*/
default:
@@ -553,6 +560,7 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
'remove_feed_global_comments' => false,
'remove_feed_post_comments' => false,
'enable_index_now' => false,
'enable_ai_generator' => false,
'remove_feed_authors' => false,
'remove_feed_categories' => false,
'remove_feed_tags' => false,