管理画面から[サイトを表示]するとトップにエラーがでます。
-
‘:””)+””),r.document.close(),n.stopImmediatePropagation(),!1}),r.onFirst(“submit”,”form”,function(){var t=e(this),n=t.attr(“action”);1===s(n)&&(“post”===(t.attr(“method”)||””).toLowerCase()?t.attr(“action”,c(n,y.nonce)):t.append(”))})}function v(){if(!w.init){if(w.init=!0,e(“img”).each(function(){var t=e(this).attr(“src”);1===s(t)&&e(this).attr(“src”,c(t,y.nonce))}),”undefined”!=typeof t._wpRevisionsSettings){var n,r=t._wpRevisionsSettings.revisionData,o=r.length;for(n=0;o>n;++n)-1===r[n].restoreUrl.indexOf(w.name)&&(t._wpRevisionsSettings.revisionData[n].restoreUrl=c(r[n].restoreUrl,y.nonce))}e(“#toplevel_page_ip-geo-block li.wp-first-item”).each(function(){var t=e(this);t.css(“display”,”IP Geo Block”===t.children(“a”).text()?”none”:”block”)})}}var y=IP_GEO_BLOCK_AUTH,w={init:!1,name:”ip-geo-block-auth-nonce”},b=new RegExp(“^(?:”+(y.home||””)+y.admin+”|”+(y.home||””)+y.plugins+”|”+(y.home||””)+y.themes+”)(?:.*.php|.*/)?$”),x=function(e){for(var t=e.length;t–>0;)if(-1!==e[t].indexOf(“request%5Bbrowse%5D=ip-geo-block-auth”)){e[t]=”request%5Bbrowse%5D=featured”;break}return e},O=function(e){for(var t=e.length;t–>0;)if(-1!==e[t].indexOf(“query%5Bip-geo-block-auth-nonce%5D=”)){delete e[t];break}return e},C={“upload.php”:O,”theme-install.php”:x,”network/theme-install.php”:x},k=function(){var e=null;try{new URL(“/”,”http://example.com/”)}catch(r){try{e=(new DOMParser).parseFromString(“”,”text/html”)}catch(o){e=n.implementation.createHTMLDocument(“”)}}return function(r,o){var a,i,c,h=n;if(r=”undefined”!=typeof r?r:t.location.href,null===e){“undefined”==typeof o&&(o=t.location.href);try{c=new URL(r,o)}catch(s){c=new URL(r,t.location.href)}}else{if(“undefined”!=typeof o){for(h=e;h.head.firstChild;)h.head.removeChild(h.head.firstChild);a=h.createElement(“base”),a.setAttribute(“href”,o),h.head.appendChild(a)}i=h.createElement(“a”),i.setAttribute(“href”,r),i.setAttribute(“href”,i.href),c={protocol:i.protocol,host:i.host,hostname:i.hostname,port:i.port,pathname:i.pathname,search:i.search,hash:i.hash,href:i.href,username:””,password:””,origin:i.origin||null},”http:”===c.protocol&&”80″===c.port?(c.port=””,c.host=c.host.replace(/:80$/,””)):”https:”===c.protocol&&”443″===c.port&&(c.port=””,c.host=c.host.replace(/:443$/,””)),”http:”!==c.protocol&&”https:”!==c.protocol||(c.pathname&&”/”!==c.pathname.charAt(0)&&(c.pathname=”/”+c.pathname),c.origin||(c.origin=c.protocol+”//”+c.hostname+(c.port?”:”+c.port:””)))}if(c.username||c.password)throw new URIError(c.username+”:”+c.password);return c}}();e.ajaxPrefilter(function(e){if(1===s(e.url)&&!e.url.match(/async-upload\.php$/))if(“undefined”!=typeof t.FormData&&e.data instanceof FormData)e.data.append(w.name,y.nonce);else{var n,o,i=a(e.url);”undefined”==typeof e.data||i.query?e.url=c(i,y.nonce):(n=e.data?e.data.split(“&”):[],o=r(t.location.pathname),o&&(n=o(n)),n.push(w.name+”=”+encodeURIComponent(y.nonce)),e.data=n.join(“&”))}}),”undefined”==typeof e.fn.onFirst&&(e.fn.onFirst=function(t,n){var r,o=e(this),a=”string”==typeof n;if(e.fn.on.apply(o,arguments),”object”==typeof t)for(r in t)t.hasOwnProperty(r)&&d(o,r,a);else”string”==typeof t&&d(o,t,a);return o}),e(t).on(“error”,function(){v()}),e(function(){v()}),g()}(jQuery,window,document);
管理画面から[サイトを表示]するとトップにこのような文字が記載されます。タイトルロゴの上です。
管理画面ではなく、普通にサイトにアクセスすると異常はありません。
当初、サーバー会社自体に、外国からのアクセスを禁止するセキュリティ機能が動いているようなので、それが原因でエラーが起きているのかなと思っていました。
サーバー会社に機能の停止を求めメールしたところ、先ほど、返答があり、機能は停止できないという答えでした。ちなみにサーバーはmixhostです。
サーバー会社のこのセキュリティはそれほど強くないようで、完全に外国からのアクセスを禁止するものではありません。不審なアクセスがあると機能するようです。
そういったことから、TORからのアクセスを完全にブロックしたいと思い、IP Geo Blockを使用したいのですが、この文字の解決策はわかりますでしょうか?
プラグインを一度全部外してみましたが、解決しませんでした。
私には書かれている内容が理解できません。
よろしくお願い致します。
- The topic ‘管理画面から[サイトを表示]するとトップにエラーがでます。’ is closed to new replies.