[wp-trac] [WordPress Trac] #63616: do_blocks(): Document optimization from #63588
WordPress Trac
noreply at wordpress.org
Mon Jun 23 17:51:45 UTC 2025
#63616: do_blocks(): Document optimization from #63588
-------------------------+-----------------------------
Reporter: dmsnell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
See #63588
When the transient-memory-leak was optimized-away in #63588 it was added
without an explanatory comment. This leaves the code prone to accidental
removal by someone coming along and thinking that there is extra work
being done.
The optimization should be documented so that there’s a stronger guard
against accidental and well-intentioned-yet-harmful regression.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63616>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list