[wp-trac] [WordPress Trac] #25840: Feature Request: WP_ACCESSIBLE_HOSTS as option

WordPress Trac noreply at wordpress.org
Wed Nov 6 09:22:55 UTC 2013


#25840: Feature Request: WP_ACCESSIBLE_HOSTS as option
-------------------------+--------------------
 Reporter:  xFireFartx   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.8
Component:  HTTP         |     Version:  3.7.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------

Comment (by xFireFartx):

 Hi,
 thanks for the patch! I want to discuss the use of a filter here.
 Currently the WP_ACCESSIBLE_HOSTS can only be managed by an admin because
 it is a constant and can not be overwritten by a plugin. With the use of a
 filter, every plugin can register it's own domains. I think the purpose of
 the whitelist is that it is managed by an admin and not via plugins.
 Example: A plugin sends usage statistics to xxx.yyy.com. Now an admin can
 manage the whitelist and deny the access to this site. With the use of a
 filter the plugin can register xxx.yyy.com for the whitelist and the admin
 can not deny it.

 How do you see this whitelisting feature?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25840#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list