[wp-trac] [WordPress Trac] #20195: Plugins uninstall.php

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 30 19:01:16 UTC 2012


#20195: Plugins uninstall.php
--------------------------+------------------------------
 Reporter:  wpsmith       |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:
 Severity:  major         |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by lightningspirit):

 Okay, I made some tests in my local environment.
 @nacin:

 To include an http://websites/wp-load.php one have to be allow_url_include
 set in php.ini.

 Even if they can include the file, this on line 21:
 {{{
 /** Define ABSPATH as this file's directory */
 define( 'ABSPATH', dirname(__FILE__) . '/' );
 }}}
 defines the absolute path of the including external script, and then
 nothing but errors are thrown. I think we don't need to be worried about
 this pitfall! :)

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


More information about the wp-trac mailing list