Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ jQuery(document).ready(function(e){e.trim(e("#seopress-notifications-center").html())||e("#seopress-notifications-center").remove();const s=["notice-get-started","notice-wizard","notice-insights-wizard","notice-divide-comments","notice-review","notice-trailingslash","notice-posts-number","notice-rss-use-excerpt","notice-search-console","notice-google-business","notice-ssl","notice-title-tag","notice-go-pro"];s.forEach(function(s){e("#"+s).on("click",function(){e("#"+s).attr("data-notice","1"==e("#"+s).attr("data-notice")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxHideNotices.seopress_hide_notices,data:{action:"seopress_hide_notices",notice:s,notice_value:e("#"+s).attr("data-notice"),_ajax_nonce:seopressAjaxHideNotices.seopress_nonce},success:function(t){e("#seopress-notice-save").css("display","block"),e("#seopress-notice-save .html").html("Notice successfully removed"),e("#"+s+"-alert").fadeOut(),e("#seopress-notice-save").delay(3500).fadeOut()}})})});const t=["titles","xml-sitemap","social","google-analytics","advanced","local-business","woocommerce","edd","dublin-core","rich-snippets","breadcrumbs","robots","news","404","bot","rewrite","white-label"];t.forEach(function(s){e("#toggle-"+s).on("click",function(){e("#toggle-"+s).attr("data-toggle","1"==e("#toggle-"+s).attr("data-toggle")?"0":"1"),e.ajax({method:"POST",url:seopressAjaxToggleFeatures.seopress_toggle_features,data:{action:"seopress_toggle_features",feature:"toggle-"+s,feature_value:e("#toggle-"+s).attr("data-toggle"),_ajax_nonce:seopressAjaxToggleFeatures.seopress_nonce},success:function(t){e("#seopress-notice-save").css("display","block"),e("#seopress-notice-save .html").html(s+" "+seopressAjaxToggleFeatures.i18n),e("#"+s+"-state").toggleClass("feature-state-on"),e("#"+s+"-state-default").toggleClass("feature-state-off"),e("#seopress-notice-save").delay(3500).fadeOut()}})})})});