[wp-trac] [WordPress Trac] #54797: Allow languages path in register_block_type
WordPress Trac
noreply at wordpress.org
Tue Feb 8 13:37:24 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:
--------------------------------------+-----------------------
Comment (by Rahe):
Hello,
Great!
A suggestion maybe can we just use `ltrim('./', $path);` instead of
substr+strpos ?
For the plugin/theme header, this is read in the frontoffice too for the
"classic" translations no ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54797#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list