[wp-trac] [WordPress Trac] #56815: Massive (potential) performance issues within get_default_block_editor_settings

WordPress Trac noreply at wordpress.org
Fri Nov 4 13:47:22 UTC 2022


#56815: Massive (potential) performance issues within
get_default_block_editor_settings
-------------------------------------+-------------------------------------
 Reporter:  janthiel                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.1.1
Component:  Editor                   |     Version:  6.0
 Severity:  major                    |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  multisite, performance
-------------------------------------+-------------------------------------

Comment (by janthiel):

 @Clorith I am happy to provide a patch on short notice if someone has a
 suggestion on how to actually fix this.
 I cannot say where this information is actually required in Gutenberg and
 thus don't have enough insight on how to fix this.
 The goal has to be to remove that call in the Frontend and / or in
 unauthenticated requests.

 Simply adding a check for the upload ability of the current user should be
 a proper fix - in theory. But that requires knowledge on how that
 information is used.

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


More information about the wp-trac mailing list