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

WordPress Trac noreply at wordpress.org
Sun Feb 15 21:00: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 JPry):

 Hey Robert,

 If you're using Javascript, then cookies '''are''' in fact available on WP
 Engine's environment. It is only the PHP code that doesn't receive them
 when caching is in play.

 Your Javascript can capture data from a cookie, send it to the WordPress
 backend using {{{admin-ajax.php}}}, and then interface with WordPress that
 way. Unless I'm misunderstanding what you're doing, that should be a lot
 simpler than what you're currently describing.

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


More information about the wp-trac mailing list