[wp-trac] [WordPress Trac] #9444: Allow to read wp-config.php without loading WP
WordPress Trac
noreply at wordpress.org
Sun Feb 15 20:09:31 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 rpayne7264):
That's what I am doing. My PHP pop-up loads WP, sends off a request, and
then awaits the reply. Closing the pop-up in between the request and the
reply, just to open it again with something like
http://example.com/?my_oauth_plugin, doesn't make a lot of sense.
But the issue still remains: how to store state before I make that first
call in the LinkedIn oAuth process flow.
Assume that:
-session variables are not available
-cookies are not available
-intra-site API or web service calls are not available
I have run into all of the above situations.
That leaves only two choices, that I can think of:
1) loading core WP files in one way or another, within my pop-up
2) implement some sort of convoluted JavaScript scheme between the pop-up
and the opener
--
Ticket URL: <https://core.trac.wordpress.org/ticket/9444#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list