[wp-trac] [WordPress Trac] #45037: Improve the WordPress Post editing experience
WordPress Trac
noreply at wordpress.org
Wed Oct 24 00:17:36 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 pento):
Replying to [comment:15 birgire]:
> I tested the latest patch, but I get
>
> {{{
> The editor has encountered an unexpected error.
> }}}
I haven't been able to reproduce this error, can you confirm a few things
for me?
- Did you run `npm install` and `grunt webpack:dev` since `svn up`-ing
your 5.0 branch?
- Is this on new posts, editing posts, or does it only happen
occasionally?
- Have you cleared your browser cache?
> It seems that Gutenberg will make this call:
>
> {{{
> file_get_contents( 'https://fonts.googleapis.com/css?family=
>
Libre+Franklin%3A300%2C300i%2C400%2C400i%2C600%2C600i%2C800%2C800i&subset=latin
%2Clatin-ext' )
> }}}
>
> I wonder if site owners are informed about this external call?
Libre Franklin is the editor font that Twenty Seventeen uses. I just
confirmed that using [https://wordpress.org/plugins/disable-google-fonts/
a plugin that disables Google Fonts] will also stop this from loading.
> 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 mind.
Good point, I'll switch it to `wp_remote_get()` instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45037#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list