內容簡介
這是一個 WordPress 外掛,可以指定一個域名以被檢查是否符合 http_request_host_is_external 過濾器。所有以 192.* 或 10.* 開頭的主機會根據 WordPress 在3.5.2版本中新增的安全更新,進行驗證是否為被允許的主機名稱 (https://github.com/WordPress/WordPress/commit/1ec392175ce5f0320072e7b195a8d091bccddefb)。不幸的是,沒有設置可用於指定被允許的主機名稱。🙁該外掛提供這個選項。預設比較域名的選項是直接字串比較。您可以選擇允許使用正則表達式,以允許所有子域名之間進行通信。這在嘗試在內部網絡中從一個 WordPress 實例導入媒體內容到另一個 WordPress 實例時非常有用。
外掛標籤
開發者團隊
原文外掛簡介
WordPress plugin that allows you to specify a domain names to be checked against the http_request_host_is_external filter. Hosts that start with 192.* or 10.* are checked against the allowed hosts based on a new security update WordPress introduced in 3.5.2 (https://github.com/WordPress/WordPress/commit/1ec392175ce5f0320072e7b195a8d091bccddefb). Unfortunately there is no setting available to say which hosts are allowed. 🙁 This plugin gives you that option. The default option for comparing domains is a straight string compare. You have the option to allow the use of regular expressions, which can be used for things like allowing all subdomains to communicate with eachother. This is most helpful when trying to import media content from one WordPress instance to another from within an internal network.
