Gary Pendergast
0014a77fa3
Build Tools: Update `@wordpress` packages.
...
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43843
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-30 03:09:58 +00:00
Gary Pendergast
9b3cee6428
Tests: Fix failing unit tests caused by [43840].
...
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43841
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:37:29 +00:00
Gary Pendergast
d13ae6300c
Build Tools: Add an npm script shortcut to run grunt.
...
Rather than needing to install grunt globally, this allows running grunt from `node_modules`, instead.
`npm run grunt ...` is effectively the equivalent of running `grunt ...`.
Props andrew.taylor.
See #45214 .
Built from https://develop.svn.wordpress.org/branches/5.0@43836
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:28:32 +00:00
herregroen
6ff1386460
I18N: Add JavaScript translation support.
...
Adds the `wp_set_script_translations` function which registers translations for a JavaScript file. This function takes a handle, domain and optionally a path and ensures JavaScript translation files are loaded if they exist.
Props atimmer, omarreiss, nerrad, swissspidy, ocean90.
Fixes #45103 .
Built from https://develop.svn.wordpress.org/branches/5.0@43825
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-26 07:35:06 +00:00
Gary Pendergast
50ef6331e7
Scripts: Add a missing date format to the `wp-date` config.
...
`wp-date` recently added the `datetimeAbbreviated` format, but the config wasn't sending it on page load.
Fixes #45158 .
Built from https://develop.svn.wordpress.org/branches/5.0@43818
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-24 11:48:53 +00:00