[wp-trac] [WordPress Trac] #43358: The theme/plugin editor sandbox does not play well with PHP sessions

WordPress Trac noreply at wordpress.org
Mon Feb 19 16:56:09 UTC 2018


#43358: The theme/plugin editor sandbox does not play well with PHP sessions
----------------------------+-----------------------------
 Reporter:  bruandet        |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.9.4
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 The theme/plugin editor sandbox does not work with some plugins (or
 themes) using PHP sessions. Because of the session exclusive lock, cURL
 will time out when attempting to connect back to the site and the request
 will fail.
 Checking if a session was started and then calling session_write_close()
 before the first wp_remote_get() call in wp-admin/includes/file.php seems
 to solve the issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43358>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list