{"id":2794,"date":"2019-06-18T17:44:51","date_gmt":"2019-06-18T09:44:51","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=2794"},"modified":"2019-06-18T17:44:51","modified_gmt":"2019-06-18T09:44:51","slug":"wordpress-ip%e9%aa%8c%e8%af%81%e4%b8%8d%e5%bd%93%e6%bc%8f%e6%b4%9e%e4%bf%ae%e5%a4%8d","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/2794.html","title":{"rendered":"wordpress IP\u9a8c\u8bc1\u4e0d\u5f53\u6f0f\u6d1e\u4fee\u590d"},"content":{"rendered":"

\u4eca\u5929\u5728\u963f\u91cc\u4e91\u670d\u52a1\u5668\u540e\u53f0\u67e5\u770b\u65f6\uff0c\u53d1\u73b0\u63d0\u793a\u4e00\u4e2aWORDPRESS\u7f51\u7ad9\u7cfb\u7edf\u6709\u6f0f\u6d1e\uff0c\u5982\u4e0b\u56fe<\/p>\n

\"\"<\/a><\/p>\n

\u6f0f\u6d1e\u4fee\u590d\u65b9\u6cd5\uff1a<\/h2>\n

\u6253\u5f00wp-includes\/http.php\uff0c\u641c\u7d22\uff1a<\/p>\n

$same_host = strtolower( $parsed_home['host'] ) === strtolower( $parsed_url['host'] );<\/code><\/pre>\n

\u66ff\u6362\u4e3a\uff1a<\/p>\n

$same_host = ( strtolower( $parsed_home['host'] ) === strtolower( $parsed_url['host'] ) || 'localhost' == strtolower($parsed_url['host']));<\/code><\/pre>\n

\u7ee7\u7eed\u641c\u7d22\uff1a<\/p>\n

if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0]<\/code><\/pre>\n

\u66ff\u6362\u4e3a\uff1a<\/p>\n

if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0] || 0 === $parts[0]<\/code><\/pre>\n

\u4fdd\u5b58\u3002\u7136\u540e\u5728\u4e91\u63a7\u5236\u53f0\u91cd\u65b0\u9a8c\u8bc1\u3002\u9a8c\u8bc1\u5b8c\u6210\u540e\uff0c\u6f0f\u6d1e\u4fee\u590d<\/p>\n

\"\"<\/a><\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u4eca\u5929\u5728\u963f\u91cc\u4e91\u670d\u52a1\u5668\u540e\u53f0\u67e5\u770b\u65f6\uff0c\u53d1\u73b0\u63d0\u793a\u4e00\u4e2aWORDPRESS\u7f51\u7ad9\u7cfb\u7edf\u6709\u6f0f\u6d1e\uff0c\u5982\u4e0b\u56fe \u6f0f\u6d1e\u4fee\u590d\u65b9\u6cd5\uff1a \u6253\u5f00wp- […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5],"class_list":["post-2794","post","type-post","status-publish","format-standard","hentry","category-wljs","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=2794"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/2794\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=2794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=2794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=2794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}