Pascal Birchler
Pascal Birchler
@OwenMelbz You might be also interested in https://github.com/wp-cli/i18n-command and how we did that there.
This would need a multibyte safe `wordwrap()` function that also preserves trailing whitespace. I mention whitespace because this: ```php $string = wordwrap('Twenty Sixteen is a modernized take on an ever-popular...
Reopening due to the comment above and the open PR.
Quick update on https://github.com/wp-cli/i18n-command on https://github.com/swissspidy/gutenberg-i18n-block: * Work on the WP-CLI command has been completed and it's part of WP-CLI 2.0, which was released yesterday. * The Gutenberg I18N Block...
No need for the manual steps in 2.2 nor using Loco Translate if you just use WP-CLI all the way, and generate the pot file from the build files instead...
That shouldn't matter, the important piece is that the function calls like `__('Cover', 'my-text-domain')` aren't mangled. You might need to adjust the webpack/terser config if string extraction can't find the...
> There's a bug with the `keyDown` events - they simply don't work with `@testing-library/user-event`, as for some reason the events dispatched there have a `keyCode: 0`. That's why we're...
At first glance something like `WP_CLI::add_parameter()` (or maybe `WP_CLI::add_global_parameter()`) sounds preferable to me from a maintenance and DX perspective. Even if that under the hood doesn't do much more than...
Is there more background about the design of this API and why it is needed? What other alternatives have been considered? What about the security implications of writing your own...
The first two ones notices are not related to Requests. Addressing them in #5658