관리-도구
편집 파일: wp-seo-admin-gsc.min.js
function wpseo_gsc_post_redirect(){"use strict";var a=jQuery("#TB_ajaxContent"),b=jQuery(a).find("input[name=current_url]").val(),c=jQuery(a).find("input[name=mark_as_fixed]").prop("checked");return jQuery.post(ajaxurl,{action:"wpseo_gsc_create_redirect_url",ajax_nonce:jQuery(".wpseo-gsc-ajax-security").val(),old_url:b,new_url:jQuery(a).find("input[name=new_url]").val(),mark_as_fixed:c,platform:jQuery("#field_platform").val(),category:jQuery("#field_category").val(),type:"301"},function(){c===!0&&jQuery("span:contains("+b+")").closest("tr").remove(),tb_remove()}),!1}function wpseo_update_category_count(a){"use strict";var b=jQuery("#gsc_count_"+a),c=parseInt(b.text(),10)-1;0>c&&(c=0),b.text(c)}function wpseo_mark_as_fixed(a){"use strict";jQuery.post(ajaxurl,{action:"wpseo_mark_fixed_crawl_issue",ajax_nonce:jQuery(".wpseo-gsc-ajax-security").val(),platform:jQuery("#field_platform").val(),category:jQuery("#field_category").val(),url:a},function(b){"true"===b&&(wpseo_update_category_count(jQuery("#field_category").val()),jQuery("span:contains("+a+")").closest("tr").remove())})}jQuery(function(){"use strict";jQuery("#gsc_auth_code").click(function(){var a=jQuery("#gsc_auth_url").val(),b=600,c=500,d=screen.width/2-b/2,e=screen.height/2-c/2;return window.open(a,"wpseogscauthcode","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width="+b+", height="+c+", top="+e+", left="+d)})}),jQuery(document).ready(function(){"use strict";jQuery("a.gsc_category").qtip({content:{attr:"title"},position:{my:"bottom left",at:"top center"},style:{tip:{corner:!0},classes:"yoast-qtip qtip-rounded qtip-blue"},show:"mouseenter",hide:{fixed:!0,delay:500}})});