[wp-trac] [WordPress Trac] #9444: Allow to read wp-config.php without loading WP
WordPress Trac
noreply at wordpress.org
Sun Feb 15 10:01:20 UTC 2015
#9444: Allow to read wp-config.php without loading WP
--------------------------------------------------+----------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.7.1
Severity: normal | Resolution: wontfix
Keywords: has-patch tested commit dev-feedback | Focuses:
--------------------------------------------------+----------------------
Comment (by SergeyBiryukov):
Replying to [comment:24 rpayne7264]:
> And because I am having to call the core wp_load.php file to get access
to the database so my plug-in works correctly on WPEngine, it is not being
accepted into the plug-in repository.
There's no need to include `wp-load.php` directly, you should be able to
use a custom query variable to interact with the pop-up:
http://ottopress.com/2010/dont-include-wp-load-please/.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9444#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list