[wp-trac] [WordPress Trac] #9444: Allow to read wp-config.php without loading WP

WordPress Trac noreply at wordpress.org
Sun Feb 15 04:46:28 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):

 I am storing the state in the database.
 I am using a popup window to host the LinkedIn sign-in form.
 It then sends a response back to my pop-up form with the id required for a
 second call to get the access token.
 Currently, I am loading Wordpress with my pop-up form so I have access to
 the DB and Transient API.
 But, when I submit my plug-in to the WP repo, they say I shouldn't call
 core WP files directly.
 Session doesn't work on WPEngine.
 Cookies don't work on WPEngine.
 I am at a loss of how maintain state without loading WP inside my pop-up
 window and using the DB.
 But in fact, I do not like the fact that I have to load the entire WP
 process. It's overkill.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/9444#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list