Commit Graph

11 Commits

Author SHA1 Message Date
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
youknowriad
67bd8ce94c Block Editor: Update @wordpress dependencies to the latest version matching Gutenberg 4.3.0
- Update the editor,edit-post,components,block-library,nux and list-reusable blocks packages
 - Also add a missing wp-date dependency to the editor script

Props atimmer
See #45145.


Built from https://develop.svn.wordpress.org/branches/5.0@43891


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-12 17:02:54 +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
danielbachhuber
56842f36aa REST API: Prevent duplicate firing of rest(_after)?_insert_attachment actions.
Props danielbachhuber, peterwilsoncc.
Fixes #45269.
See #42864.

Built from https://develop.svn.wordpress.org/branches/5.0@43862


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-03 14:14:49 +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
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