[WordPress] 外掛分享: WP-CORS

首頁外掛目錄 › WP-CORS
1,000+
安裝啟用
★★☆☆☆
2.3/5 分(3 則評價)
963 天前
最後更新
問題解決
WordPress 3.6+ v0.2.2 上架:2014-10-04

內容簡介

來自其他網站的 AJAX 請求(其中包含 Origin 標頭)將被允許,並且會允許在外掛程式的「設定」頁面中列出的任何網域。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.2) 或搜尋安裝

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

原文外掛簡介

My use case is to allow content authors to write help pages in WordPress.
This content is fetched and embedded into a single page application hosted on another domain.
AJAX requests to this site from another are typically disallowed by the browser’s security model.
To permit legitimate uses the requesting browser may include an Origin header containing its domain.
This plugin uses the Origin header to decide whether to allow the request or not.
Allowed domains can be specified in the plugin’s Settings page.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon