[wp-trac] [WordPress Trac] #45768: Content before editing are displayed in the preview

WordPress Trac noreply at wordpress.org
Fri Feb 1 06:49:08 UTC 2019


#45768: Content before editing are displayed in the preview
--------------------------+------------------------------
 Reporter:  tmatsuur      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by tmatsuur):

 In an environment using the classic editor plug-in, I respond interimly
 with the following modifications.

 redirect_post function ( /wp-admin/includes/post.php )
 {{{
 function redirect_post($post_id = '') {
         if ( isset( $_GET['meta-box-loader'] ) ) {
                 exit;
         }

         :
 }}}

 With this fix, the preview is functioning properly.

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


More information about the wp-trac mailing list