desrosj
cf023b82bd
Build/Test Tools: Support NodeJS 14.x in the 5.2 branch.
...
This updates the 5.2 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy.
In addition to backporting the package updates that happened after branching 5.2, dependencies that were removed in future releases have also been updated to their latest versions.
Props desrosj, dd32, netweb, jorbin, whyisjake.
Merges [45321,45765,45826,45875,46403-46404,46408-46409,47404,47867,47872-47873,48213,48705,49636,49933,49937,49939-49940,49983,49989,50017,50126,50176,50185] to the 5.2 branch.
See #52341 .
Built from https://develop.svn.wordpress.org/branches/5.2@50191
git-svn-id: http://core.svn.wordpress.org/branches/5.2@49869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-05 03:20:06 +00:00
desrosj
0d6541c100
General: Backport several commits for release.
...
- Embeds: Ensure that the title attribute is set correctly on embeds.
- Editor: Prevent HTML decoding on by setting the proper editor context.
- Formatting: Ensure that wp_validate_redirect() sanitizes a wider variety of characters.
- Themes: Ensure a broken theme name is returned properly.
- Administration: Add a new filter to extend set-screen-option.
Merges [47948-47951] to the 5.2 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/5.2@47960
git-svn-id: http://core.svn.wordpress.org/branches/5.2@47732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:12:52 +00:00
Sergey Biryukov
ff95ac1af3
Editor: Bump package-lock.json
on the 5.2 branch.
...
Follow-up to [47946].
See #50094 .
Built from https://develop.svn.wordpress.org/branches/5.2@47958
git-svn-id: http://core.svn.wordpress.org/branches/5.2@47730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:51:12 +00:00
whyisjake
affedce0a8
Update wp.a11y.speak() to sanitize HTML before display.
...
Merges [45979] to the 5.2 branch
Props iandunn, adamsilverstein, sstoqnov, peterwilsoncc
Built from https://develop.svn.wordpress.org/branches/5.2@45989
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:23:52 +00:00
Sergey Biryukov
7a64dfb557
Docs: Update @since
tag for new JS functions and variables introduced in [45572].
...
Props garrett-eclipse.
Merges [45867] to the 5.2 branch.
See #47145 .
Built from https://develop.svn.wordpress.org/branches/5.2@45868
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 22:55:52 +00:00
Sergey Biryukov
5bb75cf4fd
Accessibility: Make the Media modal an ARIA modal dialog.
...
For a number of years, the Media modal missed an explicit ARIA role and the required attributes for modal dialogs.
This was confusing for assistive technology users, since they may not realize they're inside a dialog, and that consequently the keyboard interactions may be different from the rest of the page. Lack of an explicit label for the dialog was confusing as well, since assistive technology users didn't have an immediate sense of what the dialog is for.
This change makes the Media modal meet the ARIA Authoring Practices recommendations, helping users better understand the purpose and interactions with the modal. Also, it makes sure to hide the rest of the page content from assistive technologies, until support for `aria-modal="true"` improves.
Additionally:
- moves the modal H1 heading to the beginning of the modal content
- changes the modal left menu position to make visual and DOM order match
- improves the `wp.media.view.FocusManager` documentation
Props afercia.
Merges [45572] to the 5.2 branch.
Fixes #47145 .
Built from https://develop.svn.wordpress.org/branches/5.2@45866
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 22:42:51 +00:00
Sergey Biryukov
61461dfa07
Accessibility: Fix the order of the Previous, Next, and Close buttons in the Attachment Details modal.
...
Making the visual and DOM order match benefits keyboard users who navigate documents sequentially and expect the focus order to be consistent with the sequential reading order.
Props afercia.
Merges [45506] to the 5.2 branch.
Fixes #47458 .
Built from https://develop.svn.wordpress.org/branches/5.2@45849
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-19 04:55:53 +00:00
Sergey Biryukov
4ef44b9ab0
Media: Reduces the bulk media options to have one primary button.
...
This fixes where 2 primary buttons were showing for bulk actions within media trash.
Props garrett-eclipse, afercia, ianbelanger, SergeyBiryukov, karmatosed.
Merges [45701] to the 5.2 branch.
Fixes #46757 , #46758
Built from https://develop.svn.wordpress.org/branches/5.2@45841
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-19 04:34:52 +00:00
Sergey Biryukov
90c221a67c
Accessibility: Improve the media views upload Dismiss Errors button.
...
- makes the Dismiss Errors button visible in the media views inline uploader
- avoids a focus loss when activating the Dismiss Errors button
See the related GitHub issue from the WPCampus accessibility audit https://github.com/WordPress/gutenberg/issues/15354
Props afercia.
Merges [45376] to the 5.2 branch.
Fixes #47113 .
Built from https://develop.svn.wordpress.org/branches/5.2@45840
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-19 04:31:52 +00:00
youknowriad
3b810cf2a3
Block Editor: Update packages to the ones slated for WP5.2.2
...
- Fix the template validation notice
- Fix for focus jumps when typing in meta attributes
Packages updated:
- @wordpress/block-editor@2.0.3
- @wordpress/block-library@2.4.6
- @wordpress/e2e-tests@1.1.6
- @wordpress/edit-post@3.3.6
- @wordpress/editor@9.2.6
- @wordpress/format-library@1.4.6
Props aduth, desrosj.
Merges [45481] to the 5.2 branch.
Fixes #47429 .
Built from https://develop.svn.wordpress.org/branches/5.2@45482
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-30 15:48:56 +00:00
desrosj
4ce6eb57b6
jQuery: bring jquery.js
back into the WordPress SVN repo and backport the patch from 3.4.0.
...
Merges [45342] to the 5.2 branch.
Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020 .
Built from https://develop.svn.wordpress.org/branches/5.2@45354
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-17 17:08:53 +00:00
Andrew Ozz
6ba2cde3a3
Update TinyMCE to 4.9.4. Changelog: https://github.com/tinymce/tinymce/blob/4.x/changelog.txt .
...
Props parkcityj, azaozz.
Merges [45316] to the 5.2 branch.
Fixes #47229 #47205 .
Built from https://develop.svn.wordpress.org/branches/5.2@45343
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-17 04:49:54 +00:00
aduth
6400dfff00
Block Editor: Upgrade WordPress packages to the latest versions.
...
Updated packages:
- @wordpress/annotations@1.2.3
- @wordpress/block-editor@2.0.2
- @wordpress/block-library@2.4.5
- @wordpress/blocks@6.2.5
- @wordpress/components@7.3.2
- @wordpress/dom@2.2.5
- @wordpress/e2e-tests@1.1.5
- @wordpress/edit-post@3.3.5
- @wordpress/editor@9.2.5
- @wordpress/format-library@1.4.5
- @wordpress/list-reusable-blocks@1.3.5
- @wordpress/nux@3.2.5
- @wordpress/rich-text@3.2.3
Props: youknowriad, gwwar, iseulde, tfrommen, gziolo.
Merges [45319] to the 5.2 branch.
Fixes #47284 .
Built from https://develop.svn.wordpress.org/branches/5.2@45320
git-svn-id: http://core.svn.wordpress.org/branches/5.2@45131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-16 18:12:57 +00:00
aduth
0feb55f633
Editor: Update packages to apply bugfixes from Gutenberg 5.5.
...
- @wordpress/block-editor@2.0.1
- @wordpress/block-library@2.4.4
- @wordpress/blocks@6.2.4
- @wordpress/components@7.3.1
- @wordpress/dom@2.2.4
- @wordpress/e2e-tests@1.1.4
- @wordpress/edit-post@3.3.4
- @wordpress/editor@9.2.4
- @wordpress/format-library@1.4.4
- @wordpress/list-reusable-blocks@1.3.4
- @wordpress/nux@3.2.4
Props iseulde, kjellr, aduth, get_dave, talldanwp, jorgefilipecosta, afercia, nosolosw, jasmussen, netweb .
See https://github.com/WordPress/gutenberg/pull/14987 .
See https://github.com/WordPress/gutenberg/pull/15020 .
Fixes #46951 .
Built from https://develop.svn.wordpress.org/trunk@45255
git-svn-id: http://core.svn.wordpress.org/trunk@45064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-22 12:40:04 +00:00
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