[wp-trac] [WordPress Trac] #58317: Refactor determine_locale() for performance

WordPress Trac noreply at wordpress.org
Wed May 24 15:56:41 UTC 2023


#58317: Refactor determine_locale() for performance
----------------------------------------+--------------------------
 Reporter:  Cybr                        |       Owner:  swissspidy
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.3
Component:  I18N                        |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+--------------------------

Comment (by swissspidy):

 @Cybr Curious, how did you end up looking at improving performance for
 this function? Usually this function is only called a few times per
 request. Especially after #58321, which fixes some edge case.

 Again, the patch looks reasonable to me, but the effect it has might be
 negligible in the larger context.

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


More information about the wp-trac mailing list