[wp-trac] [WordPress Trac] #45302: AJAX post but only got a 500 error - WP5.0 Beta 3

WordPress Trac noreply at wordpress.org
Mon Nov 12 22:16:35 UTC 2018


#45302: AJAX post but only got a 500 error - WP5.0 Beta 3
------------------------------+------------------------
 Reporter:  foreverpinetree   |       Owner:  pento
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  5.0
Component:  Editor            |     Version:  5.0
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by ocean90):

 * keywords:   => has-patch commit
 * owner:  (none) => pento
 * status:  new => reviewing


Comment:

 Hello @foreverpinetree, welcome to WordPress Trac!

 Thanks for your report. I noticed the same error on wordpress.org on sites
 with o2 enabled. [attachment:"45302.patch"] removes the unnecessary
 `is_admin()` check and checks for a valid `$current_screen` variable.

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


More information about the wp-trac mailing list