Title: WP-CORS
Author: tstephenson
Published: <strong>5 ਅਕਤੂਬਰ 2014</strong>
Last modified: 28 ਜੁਲਾਈ 2023

---

ਪਲੱਗਇਨਾਂ ਖੋਜੋ

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](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://pan.wordpress.org/plugins/wp-cors/#description)
 * [ਸਮੀਖਿਆਵਾਂ](https://pan.wordpress.org/plugins/wp-cors/#reviews)
 *  [ਸਥਾਪਤੀਕਰਨ](https://pan.wordpress.org/plugins/wp-cors/#installation)
 * [ਵਿਕਾਸ](https://pan.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.

## ਸਥਾਪਤੀਕਰਨ

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.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/wp-cors/reviews/)

## ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“WP-CORS” is open source software. The following people have contributed to this
plugin.

ਯੋਗਦਾਨੀ

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

[“WP-CORS” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।](https://translate.wordpress.org/projects/wp-plugins/wp-cors)

### ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-cors/), check out
the [SVN repository](https://plugins.svn.wordpress.org/wp-cors/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/wp-cors/) by [RSS](https://plugins.trac.wordpress.org/log/wp-cors/?limit=100&mode=stop_on_copy&format=rss).

## ਤਬਦੀਲੀ-ਚਿੱਠਾ

#### 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.

## ਮੈਟਾ

 *  Version **0.2.2**
 *  Last updated **3 ਸਾਲ ਪਹਿਲਾਂ**
 *  Active installations **1,000+**
 *  WordPress version ** 3.6 ਜਾਂ ਇਸ ਤੋਂ ਉੱਚਾ **
 *  Tested up to **6.2.9**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-cors/)
 * Tags
 * [ajax](https://pan.wordpress.org/plugins/tags/ajax/)[cors](https://pan.wordpress.org/plugins/tags/cors/)
   [rest](https://pan.wordpress.org/plugins/tags/rest/)
 *  [Advanced View](https://pan.wordpress.org/plugins/wp-cors/advanced/)

## ਦਰਜਾਬੰਦੀ

 2.3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-cors/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-cors/reviews/)

## ਯੋਗਦਾਨੀ

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

## ਸਹਿਯੋਗ

ਕੁਝ ਕਹਿਣਾ ਹੈ? ਮਦਦ ਚਾਹੀਦੀ ਹੈ?

 [ਸਹਿਯੋਗ ਫੋਰਮ ਦੇਖੋ](https://wordpress.org/support/plugin/wp-cors/)