[wp-trac] [WordPress Trac] #45253: "Unhandled promise rejection" in 5.0-RC2

WordPress Trac noreply at wordpress.org
Thu Dec 6 17:02:26 UTC 2018


#45253: "Unhandled promise rejection" in 5.0-RC2
--------------------------+------------------------------
 Reporter:  jsmoriss      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.0
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+------------------------------

Comment (by jsmoriss):

 By commenting various lines, I was able to track down the issue to a
 single function call used during the post save process:

 use_block_editor_for_post( $post_id )

 If this function is called, it results in a 403, which is unhandled and
 hangs the browser.

 js.

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


More information about the wp-trac mailing list