[wp-trac] [WordPress Trac] #62063: traverse_and_serialize_blocks calls is_callable for each block instance
WordPress Trac
noreply at wordpress.org
Sat Sep 21 14:40:07 UTC 2024
#62063: traverse_and_serialize_blocks calls is_callable for each block instance
-------------------------+-----------------------------
Reporter: welcher | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Editor | Version: 6.4
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
-------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59077" 59077]:
{{{
#!CommitTicketReference repository="" revision="59077"
Editor: Optimize `is_callable()` checks in
`traverse_and_serialize_blocks()`.
This aims to improve performance by reducing the number of function calls.
Follow-up to [56644].
Props welcher, Cybr, mukesh27, aristath.
Fixes #62063.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62063#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list