[wp-trac] [WordPress Trac] #50999: Scripts loaded through concatenation don't print their translations.
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Aug 14 08:48:24 UTC 2020
    
    
  
#50999: Scripts loaded through concatenation don't print their translations.
--------------------------+-----------------------------
 Reporter:  herregroen    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 If a script is loaded through load-scripts.php then it's translations
 aren't loaded as the translation logic is only called after the handle is
 added to the `$concat` variable has been appended and function returns.
 To fix this the same exception should be made for translations as has been
 made for handles, namely that these are never included in load-
 scripts.php.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50999>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list