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

WordPress Trac noreply at wordpress.org
Wed Dec 26 07:56:48 UTC 2018


#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        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 With the widget(meta box) added to the editing screen, if you edit the
 published post and display the preview screen, the contents before editing
 will be displayed.

 This problem can be confirmed by adding the following code to the
 functions.php of the theme.
 {{{
 function meta_box_test() {
 }
 function admin_add_meta_box_test() {
         add_meta_box( 'meta_box_test', 'test', 'meta_box_test', 'post',
 'side', 'high' );
 }
 add_action( 'admin_init', 'admin_add_meta_box_test' );
 }}}

 WordPress: 5.0.2

 Theme: Twenty Nineteen

 Plugin: nothing

 This problem may be the same cause as #45654, but I posted it because the
 symptoms are different.

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


More information about the wp-trac mailing list