[WordPress] 外掛分享: WP Allowed Hosts

首頁外掛目錄 › WP Allowed Hosts
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
70+
安裝啟用
★★★★★
5/5 分(3 則評價)
1842 天前
最後更新
問題解決
WordPress 3.7.0+ v1.0.8 上架:2013-12-02

內容簡介

這是一個 WordPress 外掛,可以指定一個域名以被檢查是否符合 http_request_host_is_external 過濾器。所有以 192.* 或 10.* 開頭的主機會根據 WordPress 在3.5.2版本中新增的安全更新,進行驗證是否為被允許的主機名稱 (https://github.com/WordPress/WordPress/commit/1ec392175ce5f0320072e7b195a8d091bccddefb)。不幸的是,沒有設置可用於指定被允許的主機名稱。🙁該外掛提供這個選項。預設比較域名的選項是直接字串比較。您可以選擇允許使用正則表達式,以允許所有子域名之間進行通信。這在嘗試在內部網絡中從一個 WordPress 實例導入媒體內容到另一個 WordPress 實例時非常有用。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Allowed Hosts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon