Closed cloudinstone closed 2 years ago
If there are more than two consecutive comments in js file, it will cause the string extraction in the file to fail.
for example:
const a ="A" {/* const b = "B"; */} {/* const c = "C"; */} const d = "D";
@cloudinstone I can't reproduce this locally (using wp i18n make-pot .).
wp i18n make-pot .
Which version of WP-CLI are you running? (wp cli info) And which command are you running with which args?
wp cli info
If there are more than two consecutive comments in js file, it will cause the string extraction in the file to fail.
for example: