[wp-trac] [WordPress Trac] #56815: Massive (potential) performance issues within get_default_block_editor_settings
WordPress Trac
noreply at wordpress.org
Fri Nov 4 14:18:21 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: 2nd-opinion has-patch | Focuses: multisite, performance
-----------------------------------+-------------------------------------
Comment (by janthiel):
I added a patch suggestion based on the assumption that the
max_upload_size is only relevant for calls which can actually upload
files. For any other context the max_upload_size should be 0 as in "not
allowed to upload anyway".
If this is a proper fix, I am more than happy. If not, this should be a
fair starting point for a discussion about why the information would be
needed in other contexts as well ;-).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56815#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list