Ez a bővítmény nem lett tesztelve a WordPress legutóbbi 3 fő kiadásával. Lehetséges, hogy már nincs karbantartva, frissítve és a használata gondot jelenthet a frissebb WordPress verziókkal.

WP Allowed Hosts

Leírás

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.

Telepítés

  1. Upload WP-Allowed-Hosts to the wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add hosts (comma seperated) to the Settings > Allowed Hosts

The allowed hosts setting can be enabled at the Network level (multisite) or at an individual site level. If enabled at the Network level then the setting will only be shown under the network site regardless of the plugin being enabled at the site level. The Network level setting takes precedence over the individual site setting.

GYIK

I enabled the plugin on a site but I don’t see the setting?

The setting is located under WP Admin’s Setting > Allow Hosts. If you don’t see it you are probably running a Network (multisite) version of wordpress and the plugin is enabled at the network level. Enabling at the Network level will take precedence.

Vélemények

2016.09.03.
What a fantastic plugin! Totally has made life much easier when moving production content back to dev/qa for testing.
2016.09.03.
Wordpress sites hosted on same IP address as virtual hosts error out when importing media from one another. Download this plugin, put the names of your hosts and forget the "Failed to import Media" issue. THANK YOU! (works fine on Wordpress 4.4.1)
3 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“WP Allowed Hosts” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“WP Allowed Hosts” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

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

Változási napló

1.0.8

  • Update to readme to reflect compatibility.

1.0.7

  • Update to readme to reflect compatibility.

1.0.6

  • Removed usage of create_function() for better compatibility with newer versions of PHP.

1.0.5

  • Fixed bug where delete_option() was being called on plugin activation instead of add_option()
  • Added success notifications when network-level settings are modified and saved
  • Code standards/cleanup

1.0.4

  • Readme update

1.0.3

  • Added Network level security.

1.0.0

  • First release