Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

LH Multisite CORS

Descrição

AJAX requests to this site from another (those containing an Origin header) will be allowed for any domain in your multisite setup, no configuration required

Instalação

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

  1. Upload the entire lh-multisite-cors folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Perguntas frequentes

Why do I need this plugin?

If you want to integrate content from your site to JavaScript applications running on other domains then the CORS standard is a way to allow this. Allowing CORS for all sites is a security problem but given you are the super admin for sites on your own network they should be trustworthy, therefore CORS can be safely activated.

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/

Avaliações

Ler 1 avaliação

Contribuidores e programadores

“LH Multisite CORS” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “LH Multisite CORS” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.00 April 12, 2016
Initial release.1.01 March 24, 2017
Fixed php strict errors1.02 July 27, 2017
Added class check