Title: WP-CORS
Author: tstephenson
Published: <strong>5 اکتبر 2014</strong>
Last modified: 28 جولای 2023

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/wp-cors.svg)

# WP-CORS

 توسط [tstephenson](https://profiles.wordpress.org/tstephenson/)

[دانلود](https://downloads.wordpress.org/plugin/wp-cors.0.2.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/wp-cors/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/wp-cors/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/wp-cors/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/wp-cors/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/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.

## عکس‌های صفحه

[⌊The plugin's Settings page.⌉⌊The plugin's Settings page.⌉[

The plugin’s Settings page.

## نصب

This section describes how to install the plugin and get it working.

 1. Upload the uncompressed contents of `wp-cors.zip` to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## سوالات متداول

### Why do I need this plugin?

If you want to integrate content from your site to JavaScript applications running
on other host domains (or allow other people to) then the CORS standard is a way
to allow this.

### What is the difference between CORS and JSONP?

CORS is more modern and more secure since it works _with_ the browser’s same-origin
policy and XmlHttpRequest objects rather than bypassing them.

### Ok I’m sold, where can I read more about CORS?

You can find the CORS spec here: http://www.w3.org/TR/cors/ You can learn more about
how to use CORS here: http://www.html5rocks.com/en/tutorials/cors/

### How do I control which sites can integrate using CORS?

This plugin’s Settings page allows administrators to specify a comma separated list
of allowed domains.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/50c101f4d9be877802d44713e653b7ee3306990c73a8daa836608bfa2bf2dcba?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-2425/)󠁿

 [angeljs](https://profiles.wordpress.org/angeljs/) 28 می 2020

Doesn’t work at all

![](https://secure.gravatar.com/avatar/fc79b304fae938687630ff147878c33fc258d96d9d2a6da6e0dc2bcad7e002ea?
s=60&d=retro&r=g)

### 󠀁[wp cores… allow access to this site using the CORS standard for authorizing cr](https://wordpress.org/support/topic/wp-cores-allow-access-to-this-site-using-the-cors-standard-for-authorizing-cr/)󠁿

 [nileshtaylor](https://profiles.wordpress.org/nileshtaylor/) 30 جولای 2018

its not working for me.. my website yet giving error cores origin error.

 [ خواندن تمامی 3 نقد و بررسی‌ ](https://wordpress.org/support/plugin/wp-cors/reviews/)

## توسعه دهندگان و همکاران

“WP-CORS” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ tstephenson ](https://profiles.wordpress.org/tstephenson/)

[ترجمه “WP-CORS” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/wp-cors)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/wp-cors/)، [مخزن SVN](https://plugins.svn.wordpress.org/wp-cors/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/wp-cors/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/wp-cors/) مشترک شوید.

## گزارش تغییرات

#### 0.2.2

Tested up to WordPress 6.2.2
 Prevent cross-site script injection on Settings page(
CVE-2022-47606). Note this vulnerability may only be exploited if the user is already
logged in with Admin privilege.

#### 0.2.1

Tested up to WordPress 4.3
 Minor fixes to avoid 404 on (unnecessary) files.

#### 0.2.0

Publish on WordPress.org.

#### 0.1.1

Stop debugging statements flooding the error log.

#### 0.1.0

Initial proof of concept.

## اطلاعات

 *  نگارش **0.2.2**
 *  آخرین به‌روزرسانی **3 سال پیش**
 *  نصب‌های فعال **1,000+**
 *  نگارش وردپرس ** 3.6 یا بالاتر **
 *  آزمایش‌شده تا **6.2.9**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/wp-cors/)
 * برچسب
 * [ajax](https://fa.wordpress.org/plugins/tags/ajax/)[cors](https://fa.wordpress.org/plugins/tags/cors/)
   [rest](https://fa.wordpress.org/plugins/tags/rest/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/wp-cors/advanced/)

## امتیازها

 2.3 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=2)
 *  [  امتیاز 2 1-ستاره     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-cors/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/wp-cors/reviews/)

## مشارکت کنندگان

 *   [ tstephenson ](https://profiles.wordpress.org/tstephenson/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/wp-cors/)