Gary Pendergast
7d19c028be
Build Tools: Tweak the webpack config for unminified files.
...
[43931] unintentionally caused the unminified files to wrap the code in an `eval()` call.
See #45201 .
Built from https://develop.svn.wordpress.org/branches/5.0@43932
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:12:49 +00:00
Gary Pendergast
b93a84709d
Build Tools: Don't include .map
files in the build.
...
These files are fairly large, and while they're useful in development, they're not needed in the final build.
Props pento, mcsf.
See #45201 .
Built from https://develop.svn.wordpress.org/branches/5.0@43931
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 02:05:47 +00:00
danielbachhuber
0fb5da94e6
Block Editor: Update @WordPress dependencies to match Gutenberg 4.5.1.
...
Updates packages: annotations,
api-fetch,
block-library,
blocks,
components,
core-data,
data,
dom, edit-post,
editor,
format-library,
jest-console,
jest-preset-default,
keycodes,
html-entities,
list-reusable-blocks,
notices,
nux,
rich-text,
scripts,
token-list, url,
viewport
Fixes undefined notices in some blocks. Removes incorrect `'gutenberg'` textdomain too.
See #45145
Built from https://develop.svn.wordpress.org/branches/5.0@43919
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 15:09:57 +00:00
aduth
2ae0f9e6b4
Block Editor: Update @wordpress dependencies to match Gutenberg 4.4.0
...
Updates packages: annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, edit-post, editor, element, format-library, i18n, list-reusable-blocks, notices, nux, plugins, rich-text, viewport
Updates changed dependencies in script-loader.php
Upgrades React from 16.5.2 to 16.6.3
See #45145
Built from https://develop.svn.wordpress.org/branches/5.0@43903
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:10:55 +00:00
Gary Pendergast
8f8f3bb91d
Block Editor: Hide the Custom Fields meta box option if that meta box has been removed.
...
Some plugins remove the Custom Fields meta box, particularly when they provide functionality that replaces it. The block editor would correctly not display this meta box in these circumstances, but it still showed the option to display or hide it.
Props pento, noisysocks.
See #45282 .
Built from https://develop.svn.wordpress.org/branches/5.0@43885
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-12 03:38:50 +00:00
Gary Pendergast
1fb36474cb
FTP/PemFTP Library: Fix some PHP notices.
...
- `ftp_base::glob()` used `each()`, which is deprecated as of PHP 7.2.
- `ftp_base::fget()` was missing the decleration of its third parameter, `$rest`.
Props itowhid06.
See #44489 .
Built from https://develop.svn.wordpress.org/branches/5.0@43848
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-31 18:15:54 +00:00
Gary Pendergast
37177611f3
WordPress 5.0 Beta 2.
...
Built from https://develop.svn.wordpress.org/branches/5.0@43844
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-30 04:47:50 +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