[wp-trac] [WordPress Trac] #45037: Improve the WordPress Post editing experience

WordPress Trac noreply at wordpress.org
Tue Oct 23 11:25:27 UTC 2018

#45037: Improve the WordPress Post editing experience
 Reporter:  jorbin                               |       Owner:  pento
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  highest omg bbq                      |   Milestone:  5.0
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  early needs-unit-tests has-patch     |     Focuses:
  needs-testing                                  |

Comment (by birgire):

 @pento great, thank you for the update.

 I tested the latest patch, but I get

 The editor has encountered an unexpected error.


 It shows three buttons:

 Attempt Recovery
 Copy Post Text
 Copy Error


 The buttons didn't give any direct text feedback (a possible future
 ticket?) when pressing on them.

 The "Attempt Recovery" button didn't solved the issue though.

 The "Copy Error" button did copy to the clipboard the following error:

 TypeError: Cannot read property 'length' of undefined
     at i (http://wp.test/wp-
     at d (http://wp.test/wp-
     at http://wp.test/wp-
     at Ug (http://wp.test/wp-includes/js/dist/vendor/react-
     at Vg (http://wp.test/wp-includes/js/dist/vendor/react-
     at Kf (http://wp.test/wp-includes/js/dist/vendor/react-
     at Lf (http://wp.test/wp-includes/js/dist/vendor/react-
     at jc (http://wp.test/wp-includes/js/dist/vendor/react-
     at aa (http://wp.test/wp-includes/js/dist/vendor/react-
     at ta (http://wp.test/wp-includes/js/dist/vendor/react-


 and strangely the "Copy Post Text" button did also copy the error but not
 the post text.

 I also noticed with an earlier patch that the date-picker seemed to be
 missing some CSS?

 But I suspect these errors might just be related to my own install, but I
 post them here just in case  :-)

 It seems that Gutenberg will make this call:

 file_get_contents( 'https://fonts.googleapis.com/css?family=
 %2Clatin-ext' )


 I wonder if site owners are informed about this external call?

 This might also be blocked, if the {{{allow_url_fopen}}} support is turned
 off. The check {{{true == ini_get( 'allow_url_fopen' )}}} comes also to

Ticket URL: <https://core.trac.wordpress.org/ticket/45037#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list