Gary Pendergast
4b1ff1c298
Media: Update the media bulk action labels for consistency.
...
Props ianbelanger, garrett-eclipse, afercia, Presskopp.
Fixes #44675 .
Built from https://develop.svn.wordpress.org/trunk@45147
git-svn-id: http://core.svn.wordpress.org/trunk@44956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:54:52 +00:00
Gary Pendergast
95df8fa792
Block Editor: Update packages to bring a selection of bugfixes in.
...
Props iseulde, kjellr, aduth, 0mirka00, mcsf, nosolosw, gziolo, jasmussen, talldanwp, notnownikki, swissspidy, jorgefilipecosta, noisysocks.
See https://github.com/WordPress/gutenberg/pull/14796 .
Fixes #46801 .
Built from https://develop.svn.wordpress.org/trunk@45138
git-svn-id: http://core.svn.wordpress.org/trunk@44947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 06:37:57 +00:00
Gary Pendergast
a125989772
Emoji: Update Twemoji to version 12.0.0.
...
Props pento, superpoincare.
Fixes #46404 , #46805 .
Built from https://develop.svn.wordpress.org/trunk@45134
git-svn-id: http://core.svn.wordpress.org/trunk@44943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 05:22:51 +00:00
Andrew Ozz
7ab495bfed
TinyMCE:
...
- Fix adding the keyboard shortcuts to all button tooltips in the classic editor and classic block.
- Fix translating the aria labels for all buttons.
Fixes #35710 ;
Built from https://develop.svn.wordpress.org/trunk@45066
git-svn-id: http://core.svn.wordpress.org/trunk@44875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-29 00:49:51 +00:00
Gary Pendergast
65f7cdbce0
Site Health: Improve the "Copy to clipboard" button.
...
The previous method for copying the debug report to the clipboard involved having a hidden `<textarea>`, but this shows up in screen readers and can't be reliably hidden.
To work around this, the button now uses the `clipboard.js` library, which automatically handles browser differences in the Clipboard API, and can load the text to copy from a `data-` attribute on the button.
Props pento, hedgefield, afercia.
Fixes #46647 .
Built from https://develop.svn.wordpress.org/trunk@45044
git-svn-id: http://core.svn.wordpress.org/trunk@44853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-27 22:31:52 +00:00
Adam Silverstein
19c4841fb6
Media: introduce a "Heading" view for improved accessibility.
...
* Add a new media view: `wp.media.view.Heading` designed to add accessibility friendly headers in the media library/modal.
* Add an initial "Attachments list" heading above the attachments list.
Props afercia.
Fixes #36925 .
Built from https://develop.svn.wordpress.org/trunk@44969
git-svn-id: http://core.svn.wordpress.org/trunk@44800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-21 21:05:52 +00:00
Ella Iseulde Van Dorpe
2aa1b8ff48
Block Editor: Update the WordPress Packages from Gutenberg 5.3
...
- @wordpress/a11y@2.2.0
- @wordpress/annotations@1.2.0
- @wordpress/api-fetch@3.1.0
- @wordpress/autop@2.2.0
- @wordpress/babel-plugin-import-jsx-pragma@2.1.0
- @wordpress/babel-preset-default@4.1.0
- @wordpress/blob@2.3.0
- @wordpress/block-editor@1.1.0
- @wordpress/block-library@2.4.0
- @wordpress/block-serialization-default-parser@3.1.0
- @wordpress/blocks@6.2.0
- @wordpress/components@7.2.0
- @wordpress/compose@3.2.0
- @wordpress/core-data@2.2.0
- @wordpress/data@4.4.0
- @wordpress/date@3.2.0
- @wordpress/deprecated@2.2.0
- @wordpress/docgen@1.1.0
- @wordpress/dom-ready@2.2.0
- @wordpress/dom@2.2.0
- @wordpress/e2e-test-utils@1.1.0
- @wordpress/e2e-tests@1.1.0
- @wordpress/edit-post@3.3.0
- @wordpress/edit-widgets@0.2.0
- @wordpress/editor@9.2.0
- @wordpress/element@2.3.0
- @wordpress/escape-html@1.2.0
- @wordpress/eslint-plugin@2.1.0
- @wordpress/format-library@1.4.0
- @wordpress/hooks@2.2.0
- @wordpress/html-entities@2.2.0
- @wordpress/i18n@3.3.0
- @wordpress/keycodes@2.2.0
- @wordpress/list-reusable-blocks@1.3.0
- @wordpress/notices@1.3.0
- @wordpress/nux@3.2.0
- @wordpress/plugins@2.2.0
- @wordpress/priority-queue@1.1.0
- @wordpress/redux-routine@3.2.0
- @wordpress/rich-text@3.2.0
- @wordpress/scripts@3.1.0
- @wordpress/shortcode@2.2.0
- @wordpress/url@2.5.0
- @wordpress/viewport@2.3.0
- @wordpress/wordcount@2.2.0
Built from https://develop.svn.wordpress.org/trunk@44960
git-svn-id: http://core.svn.wordpress.org/trunk@44791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-21 12:48:00 +00:00
Andrew Ozz
cd01464b52
TinyMCE: fix the TinyMCE help modal keyboard shortcut on Mac for the classic editor and classic block.
...
Fixes #45791 .
Built from https://develop.svn.wordpress.org/trunk@44913
git-svn-id: http://core.svn.wordpress.org/trunk@44744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 21:43:50 +00:00
Andrew Ozz
f03ccf6813
TinyMCE: remove the reference to `skin.min.css.map` from `skin.min.css`. Fixes an unneeded 404 request.
...
Fixes #46533 .
Built from https://develop.svn.wordpress.org/trunk@44911
git-svn-id: http://core.svn.wordpress.org/trunk@44742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 19:32:50 +00:00
Andrea Fercia
e9db7c48d2
Accessibility: improve the "URL" and "Alt text" fields in the media modals.
...
Many users found the attachment URL field confusing: it says "URL" so it may appear like a field meant to paste a URL into.
Also, the Alt text field is the most important one in terms of content, while the Title field needs to be de-emphasized.
- changes the URL field label to "Copy link"
- moves the alt text field to the top as first field
- avoids to set initial focus on the alt text field
- adds an explanatory text with a link pointing to the W3C "alt decision tree" tutorial
- adds `aria-describedby` to target the explanatory text
- adjusts the CSS accordingly
- updates the QUnit index.html file
Props melchoyce, audrasjb, afercia.
Fixes #41612 .
Built from https://develop.svn.wordpress.org/trunk@44900
git-svn-id: http://core.svn.wordpress.org/trunk@44731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 10:43:51 +00:00
Andrew Ozz
df681b2ee0
TinyMCE: fix editor height when loaded hidden.
...
Props nnikolov, azaozz.
Fixes #45461 .
Built from https://develop.svn.wordpress.org/trunk@44832
git-svn-id: http://core.svn.wordpress.org/trunk@44664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 20:14:52 +00:00
youknowriad
2d58d57e38
Block Editor: Update the WordPress Packages from Gutenberg 5.2.
...
Updated Packages:
- @wordpress/a11y@2.1.0
- @wordpress/annotations@1.1.0
- @wordpress/api-fetch@3.0.0
- @wordpress/autop@2.1.0
- @wordpress/babel-plugin-import-jsx-pragma@2.0.0
- @wordpress/babel-plugin-makepot@3.0.0
- @wordpress/babel-preset-default@4.0.0
- @wordpress/blob@2.2.0
- @wordpress/block-editor@1.0.0
- @wordpress/block-library@2.3.0
- @wordpress/block-serialization-default-parser@3.0.0
- @wordpress/block-serialization-spec-parser@3.0.0
- @wordpress/blocks@6.1.0
- @wordpress/browserslist-config@2.3.0
- @wordpress/components@7.1.0
- @wordpress/compose@3.1.0
- @wordpress/core-data@2.1.0
- @wordpress/custom-templated-path-webpack-plugin@1.2.0
- @wordpress/data@4.3.0
- @wordpress/date@3.1.0
- @wordpress/deprecated@2.1.0
- @wordpress/docgen@1.0.0
- @wordpress/dom-ready@2.1.0
- @wordpress/dom@2.1.0
- @wordpress/e2e-test-utils@1.0.0
- @wordpress/e2e-tests@1.0.0
- @wordpress/edit-post@3.2.0
- @wordpress/editor@9.1.0
- @wordpress/element@2.2.0
- @wordpress/escape-html@1.1.0
- @wordpress/eslint-plugin@2.0.0
- @wordpress/format-library@1.3.0
- @wordpress/hooks@2.1.0
- @wordpress/html-entities@2.1.0
- @wordpress/i18n@3.2.0
- @wordpress/is-shallow-equal@1.2.0
- @wordpress/jest-console@3.0.0
- @wordpress/jest-preset-default@4.0.0
- @wordpress/jest-puppeteer-axe@1.0.0
- @wordpress/keycodes@2.1.0
- @wordpress/library-export-default-webpack-plugin@1.1.0
- @wordpress/list-reusable-blocks@1.2.0
- @wordpress/notices@1.2.0
- @wordpress/npm-package-json-lint-config@1.2.0
- @wordpress/nux@3.1.0
- @wordpress/plugins@2.1.0
- @wordpress/postcss-themes@2.0.0
- @wordpress/priority-queue@1.0.0
- @wordpress/redux-routine@3.1.0
- @wordpress/rich-text@3.1.0
- @wordpress/scripts@3.0.0
- @wordpress/shortcode@2.1.0
- @wordpress/token-list@1.2.0
- @wordpress/url@2.4.0
- @wordpress/viewport@2.2.0
- @wordpress/wordcount@2.1.0
This also includes the update to the scripts dependencies and the new widgets php files.
Props iseulde.
Fixes #46429 .
Built from https://develop.svn.wordpress.org/trunk@44808
git-svn-id: http://core.svn.wordpress.org/trunk@44640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-07 09:09:59 +00:00
Peter Wilson
4094d3687a
Comments: Allow for `comment-reply.js` to be loaded in the HTML header.
...
Allows for themes or plugins setting the comment-reply JavaScript as a dependency of an HTML header script. This in turn causes `comment-reply.js` to be loaded early, requiring execution to be delayed.
Props pento, peterwilsoncc, jorbin for feedback.
Fixes #46280 .
Built from https://develop.svn.wordpress.org/trunk@44794
git-svn-id: http://core.svn.wordpress.org/trunk@44626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-05 01:52:51 +00:00
Peter Wilson
1b2f7d862c
Comments: Fix backward compatibility regressions in comment reply JavaScript.
...
Adds a `MutationObserver` to `comment-reply.js` to allow for lazy-loaded comments to continue working without the need to re-initialize the comment form.
Props Pento.
Fixes #46260 .
Built from https://develop.svn.wordpress.org/trunk@44748
git-svn-id: http://core.svn.wordpress.org/trunk@44580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-18 04:27:50 +00:00
Peter Wilson
a51ca641ec
Build: Remove source map from `jquery.form.min.js`.
...
Minimize jquery.form.js as part of build process to remove the source map reference.
Modify source map tests to include all JavaScript files rather than testing Backbone and jQuery only.
Props pento.
Fixes #46218 .
Built from https://develop.svn.wordpress.org/trunk@44740
git-svn-id: http://core.svn.wordpress.org/trunk@44572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-14 00:07:49 +00:00
Gary Pendergast
95d5aa0e97
Build: Update `package.json` dependencies to match Gutenberg.
...
Props wpscholar, azaozz, gziolo.
Fixes #46039 .
Built from https://develop.svn.wordpress.org/trunk@44728
git-svn-id: http://core.svn.wordpress.org/trunk@44559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-02-07 06:28:03 +00:00
Andrew Ozz
02adaaf90c
TinyMCE: fix external references in `wpview` and `wpemoji` plugins in the Classic Block instance when running from `/build`.
...
Fixes #46147 .
Built from https://develop.svn.wordpress.org/trunk@44718
git-svn-id: http://core.svn.wordpress.org/trunk@44549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-30 14:12:52 +00:00
Andrew Ozz
6a5df4271f
TinyMCE: update alternative icon fonts for older browsers after [44713].
...
See #46094 .
Built from https://develop.svn.wordpress.org/trunk@44716
git-svn-id: http://core.svn.wordpress.org/trunk@44547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-30 10:07:50 +00:00
Ella Iseulde Van Dorpe
2ce767141a
TinyMCE: Update to 4.9.2
...
https://github.com/tinymce/tinymce-dist/compare/4.8.0...4.9.2
Fixes #46094 .
Built from https://develop.svn.wordpress.org/trunk@44713
git-svn-id: http://core.svn.wordpress.org/trunk@44544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-29 20:19:51 +00:00
youknowriad
3c7a623f85
Block Editor: Update WordPress Packages to the latest versions.
...
Updated Packages:
- @wordpress/annotations@1.0.8
- @wordpress/block-library@2.2.15
- @wordpress/components@7.0.8
- @wordpress/edit-post@3.1.10
- @wordpress/editor@9.0.10
- @wordpress/format-library@1.2.13
- @wordpress/list-reusable-blocks@1.1.21
- @wordpress/nux@3.0.9
- @wordpress/rich-text@3.0.7
Fixes list block indentation and Crowdsignal embed block.
Props iseulde.
Fixes #46137 .
Built from https://develop.svn.wordpress.org/trunk@44711
git-svn-id: http://core.svn.wordpress.org/trunk@44542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-29 18:23:55 +00:00
Dominik Schilling
05a3c91d34
TinyMCE Classic Block: Remove unused variable.
...
See #46071 .
Built from https://develop.svn.wordpress.org/trunk@44699
git-svn-id: http://core.svn.wordpress.org/trunk@44530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-26 12:59:49 +00:00
Andrew Ozz
c31e8cf756
TinyMCE Classic Block: fix repositioning of the inline toolbar on scrolling.
...
Props iseulde, azaozz.
Fixes #46062 .
Built from https://develop.svn.wordpress.org/trunk@44697
git-svn-id: http://core.svn.wordpress.org/trunk@44528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:24:50 +00:00
Andrew Ozz
a6e8abca83
TinyMCE Classic Block: fix the Advanced Link modal (accessible when clicking on the cogwheel in the inline link modal in a Classic Block).
...
Fixes #46071 .
Built from https://develop.svn.wordpress.org/trunk@44696
git-svn-id: http://core.svn.wordpress.org/trunk@44527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:21:50 +00:00
Andrew Ozz
6bd203bb50
TinyMCE Classic Block: fix the Edit Image modal to work as in the Classic Editor.
...
Fixes #46085 .
Built from https://develop.svn.wordpress.org/trunk@44695
git-svn-id: http://core.svn.wordpress.org/trunk@44526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:11:51 +00:00
Gary Pendergast
faf1528d8f
Customiser: Prevent JS errors when previewing pages with an `<area>` tag.
...
The customiser assumes that `<area>` tags will have a `href` attribute, which isn't necessarily true. Now it checks instead of assuming.
Props janthiel, adamsilverstein.
Fixes #45053 .
Built from https://develop.svn.wordpress.org/trunk@44684
git-svn-id: http://core.svn.wordpress.org/trunk@44515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-21 23:03:50 +00:00
Andrew Ozz
b7897c5761
TinyMCE: retire wp-tinymce.php and remove pre-compression of wp-tinymce.js.
...
Fixes #45645 .
Built from https://develop.svn.wordpress.org/trunk@44651
git-svn-id: http://core.svn.wordpress.org/trunk@44482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-18 19:51:53 +00:00
Gary Pendergast
0ee053758e
Emoji: Upgrade Twemoji to 11.2.0.
...
This upgrade includes general improvements to the style of a variety of emoji.
Full changelog: https://github.com/twitter/twemoji/compare/v11.0.0...v11.2.0
Props desrosj, pento.
Fixes #45133 .
Built from https://develop.svn.wordpress.org/trunk@44644
git-svn-id: http://core.svn.wordpress.org/trunk@44475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-18 01:42:50 +00:00
Andrea Fercia
a32aeb0392
Media: Improve unselecting media in the media bulk selection mode.
...
Disables the "Delete Selected" button when unselecting media by clicking the
"checkmark" box in the media bulk selection mode.
Props subrataemfluence, adamsilverstein.
Fixes #42239 .
Built from https://develop.svn.wordpress.org/trunk@44640
git-svn-id: http://core.svn.wordpress.org/trunk@44471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-17 12:08:49 +00:00
Andrea Fercia
3578f89900
Accessibility: Improve the way Internet Explorer 11 and JAWS announce fieldset legends.
...
When Internet Explorer encounters a non interactive element with a `tabindex`
attribute, it adds the element to the accessibility tree with a `role=group` and
an accessible name computed from the element. This prevents JAWS from announcing
any fieldset legend within the element.
- removes `tabindex="0"` from the content and the toolbar containers: these tabindex attributes are no longer needed
- removes `aria-label="Main content"` from the content container: not needed
- keeps the media modal focus fallback introduced in [38142] by making the `#wpbody-content` element focusable only when needed
Props stevefaulkner, aardrian.
Fixes #43154 .
Built from https://develop.svn.wordpress.org/trunk@44639
git-svn-id: http://core.svn.wordpress.org/trunk@44470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-17 11:55:51 +00:00
Gary Pendergast
51f4314441
Customizer: Use the `sandbox` attribute to prevent top navigation from the preview.
...
Props valchovski.
Fixes #42341 .
Built from https://develop.svn.wordpress.org/trunk@44583
git-svn-id: http://core.svn.wordpress.org/trunk@44414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-14 07:25:50 +00:00
Gary Pendergast
14c44ad703
Block Editor: Upgrade the `@wordpress/` packages.
...
This brings the block editor in core up to date with the Gutenberg 4.8 plugin release.
Props aduth, gziolo, youknowriad, mkaz, jorgefilipecosta, swissspidy, iseulde, soean, noisysocks, joen, brentswisher, dekervit, dimadin, zebulan, johnny5, nosolosw, netweb, ryelle, etoledom, mzorz, desrosj, mmtr86, tinkerbelly, ocean90, earnjam, ajitbohra, talldanwp, notnownikki, mcsf, afercia, adamsilverstein, gutendev, naoki0h, miyauchi, aldavigdis.
Fixes #45885 .
Built from https://develop.svn.wordpress.org/trunk@44533
git-svn-id: http://core.svn.wordpress.org/trunk@44364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-10 01:54:56 +00:00
Gary Pendergast
e69c1039eb
Build Tools: Copy unminified JS files to `src`.
...
This allows `SCRIPT_DEBUG` to be set to `true` when running from `src`.
Fixes #45869 .
Built from https://develop.svn.wordpress.org/trunk@44529
git-svn-id: http://core.svn.wordpress.org/trunk@44360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-10 01:39:50 +00:00
desrosj
0ee1a0e4e1
Block Editor: Upgrade `@WordPress` packages to the latest versions.
...
Updated packages:
- @wordpress/annotations@1.0.5
- @wordpress/api-fetch@2.2.7
- @wordpress/block-library@2.2.12
- @wordpress/block-serialization-default-parser@2.0.3
- @wordpress/blocks@6.0.5
- @wordpress/components@7.0.5
- @wordpress/core-data@2.0.16
- @wordpress/data@4.2.0
- @wordpress/deprecated@2.0.4
- @wordpress/dom@2.0.8
- @wordpress/edit-post@3.1.7
- @wordpress/editor@9.0.7
- @wordpress/format-library@1.2.10
- @wordpress/hooks@2.0.4
- @wordpress/list-reusable-blocks@1.1.18
- @wordpress/notices@1.1.2
- @wordpress/nux@3.0.6
- @wordpress/plugins@2.0.10
- @wordpress/rich-text@3.0.4
- @wordpress/url@2.3.3
- @wordpress/viewport@2.1.0
Props: youknowriad, gziolo, desrosj.
Fixes #45814 .
Built from https://develop.svn.wordpress.org/trunk@44389
git-svn-id: http://core.svn.wordpress.org/trunk@44219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-04 19:38:57 +00:00
desrosj
8ac2091f5d
Docs: Update `since` tag for comment reply link improvements.
...
Originally added in [42360].
Fixes #31590 .
Built from https://develop.svn.wordpress.org/trunk@44388
git-svn-id: http://core.svn.wordpress.org/trunk@44218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-03 19:29:51 +00:00
atimmer
a814e5d34e
Build tools: Allow building WordPress to `src`.
...
After the JavaScript reorganization in [43309], it was no longer possible to test WordPress from the `src` folder. That meant a build step was required to test PHP modifications. That is suboptimal as even a simple copy is slower than a web server just serving the new file.
We achieve building to `src` by setting a `WORKING_DIR` constant in the Gruntfile that is `build` by default, but changes to `src` when the `--dev` flag is present on any Grunt command. We provide sensible defaults so some commands, such as copying `version.php`, always build to `build`.
Because testing from `build` is no longer required, we change the messages present in `index.php` and `wp-admin/index.php` to be more broadly about building WordPress.
We also change the webpack config to have more straightforward behavior based on the `buildTarget` argument. It only determines the build target now and has no implicit behavior anymore. `grunt build` still works as it worked before, to make sure that the build server produces the same `wordpress.zip` we are used to.
We do all this instead of a symlink setup because symlinks don't work on every platform.
Props omarreiss, netweb, flixos90, SergeyBiryukov.
Fixes #44492 .
Built from https://develop.svn.wordpress.org/trunk@44359
git-svn-id: http://core.svn.wordpress.org/trunk@44189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-24 13:29:50 +00:00
desrosj
0211420001
External Libraries: zxcvbn library.
...
This reverts [44354] for more investigation into inconsistent password strength values that passed locally prior to commit.
Unprops omarreiss, netweb, desrosj.
See #43749 .
Built from https://develop.svn.wordpress.org/trunk@44356
git-svn-id: http://core.svn.wordpress.org/trunk@44186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-20 21:03:49 +00:00
desrosj
7e99487473
External Libraries: Update zxcvbn to 4.2.2.
...
Version 4.2.2 of the zxcvbn password strength library has several bug fixes. A full list of changes can be seen here: https://github.com/dropbox/zxcvbn/compare/v4.4.1...v4.4.2 .
This commit also adds the library as a project dependency, making it easier to update in the future. Because the dictionary within the library contains non-PG language, a `rot13:zxcvbn` task has been added to Grunt to perform a ROT-13 cipher on the library. This task has been added to `grunt build` and `grunt build:js`.
Props omarreiss, netweb, desrosj.
Fixes #43749 .
Built from https://develop.svn.wordpress.org/trunk@44354
git-svn-id: http://core.svn.wordpress.org/trunk@44184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-20 19:46:50 +00:00
Sergey Biryukov
413050b191
Block Editor: Upgrade @WordPress packages to the latest version (4.7.1)
...
Updated packages:
- @wordpress/block-library@2.2.11
- @wordpress/edit-post@3.1.6
- @wordpress/editor@9.0.6
- @wordpress/format-library@1.2.9
Props youknowriad, pento.
Merges [44287] to trunk.
Fixes #45637 .
Built from https://develop.svn.wordpress.org/trunk@44319
git-svn-id: http://core.svn.wordpress.org/trunk@44149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:35:38 +00:00
desrosj
d6e8d93412
Block Editor: Upgrade `@wordpress` packages to match version 4.7.1.
...
Updated packages:
- `@wordpress/annotations
- `@wordpress/api-fetch
- `@wordpress/block-library@2.2.10
- `@wordpress/block-serialization-default-parser@2.0.2`
- `@wordpress/block-serialization-spec-parser@2.0.2`
- `@wordpress/blocks@6.0.4`
- `@wordpress/components@7.0.4`
- `@wordpress/core-data@2.0.15`
- `@wordpress/data@4.1.0`
- `@wordpress/date@3.0.1`
- `@wordpress/edit-post@3.1.5`
- `@wordpress/editor@9.0.5`
- `@wordpress/eslint-plugin@1.0.0`
- `@wordpress/format-library@1.2.8`
- `@wordpress/html-entities@2.0.4`
- `@wordpress/list-reusable-blocks@1.1.17`
- `@wordpress/notices@1.1.1`
- `@wordpress/nux@3.0.5`
- `@wordpress/rich-text@3.0.3`
- `@wordpress/url@2.3.2`
- `@wordpress/viewport@2.0.13`
This also includes the updates the Core blocks.
The script loader is updated to match the Gutenberg repository as well.
Props atimmer, gziolo, joen, youknowriad.
Merges [44183] to trunk.
Fixes #45442 , #45637 .
Built from https://develop.svn.wordpress.org/trunk@44296
git-svn-id: http://core.svn.wordpress.org/trunk@44126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:16:48 +00:00
Sergey Biryukov
8f4440eb10
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.
Merges [43931] and [43932] to trunk.
See #45201 .
Built from https://develop.svn.wordpress.org/trunk@44282
git-svn-id: http://core.svn.wordpress.org/trunk@44112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-18 03:14:52 +00:00
desrosj
077e2c5fcf
Block Editor: Update @wordpress package dependencies.
...
Updates the following packages:
block-library, block-serialization-default-parser, block-serialization-spec-parser, blocks, edit-post, editor, format-library.
Merges [43955] to trunk.
Props youknowriad.
Fixes #45145 .
Built from https://develop.svn.wordpress.org/trunk@44281
git-svn-id: http://core.svn.wordpress.org/trunk@44111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 21:59:54 +00:00
desrosj
03262a191f
Block Editor: Refresh nonces used by `wp.apiFetch`.
...
Adds heartbeat nonces refreshing support to `wp.apiFetch` requests.
Props pento, adamsilverstein, dd32, desrosj, youknowriad.
Merges [43939] into trunk.
Fixes #45113 .
Built from https://develop.svn.wordpress.org/trunk@44275
git-svn-id: http://core.svn.wordpress.org/trunk@44105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 19:28:51 +00:00
desrosj
36158d7909
Block Editor: Update `@wordpress` package dependencies.
...
Update packages include:
- block-library
- components
- edit-post
- editor
- format-library
- list-reusable-blocks
- nux
Other changes:
- Fix a translator comment in `edit-form-blocks.php`.
- Rename the `gutenberg_` functions in `blocks/latest-comments.php`.
Props noisy socks, youknowriad, pinto, swissspidy.
Merges [43935] and [43949-43951] into trunk.
See #45145 .
Built from https://develop.svn.wordpress.org/trunk@44273
git-svn-id: http://core.svn.wordpress.org/trunk@44103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 19:06:59 +00:00
desrosj
4f86a03258
Block Editor: Update `@wordpress` dependencies to match Gutenberg 4.5.1.
...
- Update the annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, dom, edit-post, editor, element, format-library, html-entities, i18n, jest-console, jest-preset-default, keycodes, list-reusable-blocks, notices, nux, plugins, rich-text, scripts, token-lists, url, viewport packages.
- Upgrades React from 16.5.2 to 16.6.3.
- Adds a missing `wp-date` dependency to the editor script.
- Updates changed dependencies in `script-loader.php`.
- Fixes undefined notices in some blocks.
- Removes incorrect `gutenberg` textdomain.
Merges [43891], [43903], and [43919] to trunk.
Props atimmer, aduth, youknowriad, danielbachhuber.
See #45145 .
Built from https://develop.svn.wordpress.org/trunk@44262
git-svn-id: http://core.svn.wordpress.org/trunk@44092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 15:37:00 +00:00
desrosj
9d7aa3436e
Block Editor: Update `@wordpress` dependencies.
...
Changes of note:
- Includes the new Annotations API package.
- `wp-polyfill-ecmascript.js` is renamed to `wp-polyfill.js`.
- `strip_dynamic_blocks()` has been removed in favor of `excerpt_remove_blocks()`.
- The PHP block parser is now syncing from the `block-serialization-default-parser` package.
- `do_blocks()` uses the new parser.
- The `do_block` filter has been removed from `do_blocks()`, in favor of a `render_block` filter in `render_block()`.
Also, a little cleanup to `render_block()`. Always normalize `$block['attrs’]` to array in `’render_block’` filter.
Props pento, azaozz.
Merges [43884] and [43888] to trunk.
See #45145 , #45190 , #45264 , #45282 .
Built from https://develop.svn.wordpress.org/trunk@44261
git-svn-id: http://core.svn.wordpress.org/trunk@44091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 04:52:00 +00:00
Sergey Biryukov
6ffafa5bc7
TinyMCE: Fix the keyboard shortcut (Alt+Shift+H) to not open the default Block Editor help modal and change the title of the help modal to "Classic Block Keyboard Shortcuts" in the Classic BLock. Also remove Alt+Shift+Z in the Classic Block as it conflicts with the Block Editor.
...
Props azaozz.
Merges [43915] to trunk.
Fixes #45365 .
Built from https://develop.svn.wordpress.org/trunk@44257
git-svn-id: http://core.svn.wordpress.org/trunk@44087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:32:21 +00:00
Sergey Biryukov
e8cbdf9405
Block Editor: Fix the TinyMCE `wordpress` plugin to handle hiding/showing of toolbars in the classic block. Change the classic block toolbar to use the (now fixed) `wp_adv` button.
...
Props azaozz.
Merges [43889] and [43890] to trunk.
Fixes #45264 .
Built from https://develop.svn.wordpress.org/trunk@44247
git-svn-id: http://core.svn.wordpress.org/trunk@44077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:23:55 +00:00
Jeremy Felt
b93dd61e90
Blocks: Add "Export as JSON" action to the `wp_block` post list screen.
...
Remove the "Quick Edit" for `wp_block`s, too, as they don't need any of that functionality.
Merges [43854] from the 5.0 branch to trunk.
Props noisysocks.
Fixes #45247 .
Built from https://develop.svn.wordpress.org/trunk@44220
git-svn-id: http://core.svn.wordpress.org/trunk@44050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:01:05 +00:00
atimmer
7616bf91af
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, pento.
Merges [43848] to trunk.
Fixes #44489 .
Built from https://develop.svn.wordpress.org/trunk@44184
git-svn-id: http://core.svn.wordpress.org/trunk@44014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:00:40 +00:00
atimmer
96b2a4677c
Build Tools: Update the @wordpress packages.
...
Trunk now matches Gutenberg 4.2 RC1.
Props pento.
Merges [43847] to trunk.
See #45145 .
Built from https://develop.svn.wordpress.org/trunk@44182
git-svn-id: http://core.svn.wordpress.org/trunk@44012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-14 12:20:00 +00:00