[wp-trac] [WordPress Trac] #45235: REST API: Setting _locale can cause fatal errors

WordPress Trac noreply at wordpress.org
Wed Oct 31 02:13:50 UTC 2018


#45235: REST API: Setting _locale can cause fatal errors
--------------------------+-----------------------
 Reporter:  pento         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  5.0
Component:  I18N          |     Version:  5.0
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------
Changes (by danielbachhuber):

 * Attachment "45235.1.diff" added.

 Check function_exists( 'is_user_logged_in' ) in case called before
 pluggable functions are loaded

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


More information about the wp-trac mailing list