[wp-trac] [WordPress Trac] #54797: Allow languages path in register_block_type

WordPress Trac noreply at wordpress.org
Fri Feb 11 12:13:11 UTC 2022

#54797: Allow languages path in register_block_type
 Reporter:  Rahe                      |       Owner:  gziolo
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.0
Component:  I18N                      |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by gziolo):

 In [changeset:"52699" 52699]:
 #!CommitTicketReference repository="" revision="52699"
 I18n: Standardize the script paths for blocks

 When providing file paths to scripts (editorScript, script or viewScript),
 when there is a trailing ./ included then there was a different md5
 generated for the file that didn't match the one used with the file
 generated in the translations folder.

 Props Rahe.
 See #54797.

Ticket URL: <https://core.trac.wordpress.org/ticket/54797#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list