[wp-trac] [WordPress Trac] #62348: Textdomain loaded even though translations do not exist bc textdomain have identical start phrase

WordPress Trac noreply at wordpress.org
Wed Feb 26 08:24:57 UTC 2025


#62348: Textdomain loaded even though translations do not exist bc textdomain have
identical start phrase
-------------------------------+-------------------------
 Reporter:  kkmuffme           |       Owner:  swissspidy
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  6.8
Component:  I18N               |     Version:  6.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------

Comment (by swissspidy):

 @kkmuffme Just checking in here regarding the issue you originally
 reported.

 The current `str_starts_with` logic in `WP_Textdomain_Registry` is indeed
 fragile, but it's also not really used.

 But if you say you see odd behavior, that would be worth debugging
 further.

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


More information about the wp-trac mailing list