[wp-trac] [WordPress Trac] #39295: Prevent infinite loop when calling get_user_locale() in a 'locale' filter

WordPress Trac noreply at wordpress.org
Wed Nov 6 15:50:52 UTC 2024


#39295: Prevent infinite loop when calling get_user_locale() in a 'locale' filter
-----------------------------------+------------------------------
 Reporter:  yoavf                  |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  I18N                   |     Version:  4.7
 Severity:  major                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 Is this still relevant? IMHO it should be up to the caller to unhook their
 callback in such a case.

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


More information about the wp-trac mailing list