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

WordPress Trac noreply at wordpress.org
Tue Feb 8 12:47:52 UTC 2022


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

 * keywords:   => has-patch has-unit-tests
 * type:  feature request => defect (bug)
 * milestone:  Awaiting Review => 5.9.1


Comment:

 > When providing file paths to scripts (editorScript, script or
 viewScript), when there is a trailing ./ included then there is wrong md5
 generated for the file and it doesn't match with the file generated in the
 translations folder.

 This part is ready with the patch attached.

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


More information about the wp-trac mailing list