[wp-trac] [WordPress Trac] #60683: Optimize code to reduce unwanted memory allocation

WordPress Trac noreply at wordpress.org
Sat Mar 9 18:05:42 UTC 2024


#60683: Optimize code to reduce unwanted memory allocation
----------------------------+-----------------------------
 Reporter:  mujuonly        |       Owner:  SergeyBiryukov
     Type:  enhancement     |      Status:  closed
 Priority:  low             |   Milestone:  6.6
Component:  Administration  |     Version:
 Severity:  trivial         |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57796" 57796]:
 {{{
 #!CommitTicketReference repository="" revision="57796"
 Upload: Move an assignment in `wp-admin/upload.php` into a conditional
 branch.

 This is a micro-optimization to reduce unnecessary memory allocation.

 Follow-up to [28682].

 Props mujuonly, swissspidy, mukesh27.
 Fixes #60683.
 }}}

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


More information about the wp-trac mailing list