Commit Graph

25611 Commits

Author SHA1 Message Date
desrosj 7b299542fd WordPress 5.0.10.
Built from https://develop.svn.wordpress.org/branches/5.0@47993


git-svn-id: http://core.svn.wordpress.org/branches/5.0@47761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 21:36:36 +00:00
whyisjake 71841d604b Editor: Ensure latest comments can only be viewed from public posts.
This brings the changes from [47984] to the 5.0 branch.

Props: poena, xknown.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@47756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 19:32:45 +00:00
desrosj c5a0caaaae 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 [47947-47951] to the 5.0 branch.
Props xknown, sstoqnov, vortfu, SergeyBiryukov, whyisjake.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@47735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 18:22:47 +00:00
desrosj 977206959f WordPress 5.0.9
Built from https://develop.svn.wordpress.org/branches/5.0@47670


git-svn-id: http://core.svn.wordpress.org/branches/5.0@47447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:00:31 +00:00
whyisjake afc65069bb Customize: Add additional filters to Customizer to prevent JSON corruption.
User: Invalidate `user_activation_key` on password update.
Query: Ensure that only a single post can be returned on date/time based queries.
Cache API: Ensure proper escaping around the stats method in the cache API.
Formatting: Expand `sanitize_file_name` to have better support for utf8 characters.

Brings the changes in [47633], [47634], [47635], [47636], [47637], and [47638] to the 5.0 branch.

Props: aduth, batmoo, ehti, ellatrix, jorgefilipecosta, nickdaugherty, noisysocks, pento, peterwilsoncc, sergeybiryukov, sstoqnov, talldanwp, westi, westonruter, whyisjake, whyisjake, xknown.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@47422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 16:14:48 +00:00
Sergey Biryukov 5032f17b37 WordPress 5.0.8
Built from https://develop.svn.wordpress.org/branches/5.0@46923


git-svn-id: http://core.svn.wordpress.org/branches/5.0@46723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 20:26:46 +00:00
whyisjake ee92e93f79 Ensure that a user can publish_posts before making a post sticky.
Props: danielbachhuber, whyisjake, peterwilson, xknown.
Prevent  stored XSS through wp_targeted_link_rel().
Props: vortfu, whyisjake, peterwilsoncc, xknown,  SergeyBiryukov, flaviozavan.
Update wp_kses_bad_protocol() to recognize : on uri attributes,
wp_kses_bad_protocol() makes sure to validate that uri attributes don't contain invalid/or not allowed protocols. While this works fine in most cases, there's a risk that by using the colon html5 named entity, one is able to bypass this function.
Brings r46895 to the 5.3 branch.
Props: xknown, nickdaugherty, peterwilsoncc.
Prevent stored XSS in the block editor.
Brings r46896 to the 5.3 branch.
Prevent escaped unicode characters become unescaped in unsafe HTML during JSON decoding.
Props: aduth, epiqueras.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@46715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:52:47 +00:00
desrosj 970ccf3c73 WordPress 5.0.7.
Built from https://develop.svn.wordpress.org/branches/5.0@46510


git-svn-id: http://core.svn.wordpress.org/branches/5.0@46307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 20:08:38 +00:00
whyisjake de7d42ed47 Backporting several bug fixes.
- Query: Remove the static query property.
- HTTP API: Protect against hex interpretation.
- Filesystem API: Prevent directory travelersals when creating new folders.
- Administration: Ensure that admin referer nonce is valid.
- REST API: Send a Vary: Origin header on GET requests.

Backports [46474], [46475], [46476], [46477], [46478], [46483], [46485] to the 5.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@46289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-14 18:26:51 +00:00
desrosj b67804a2a5 WordPress 5.0.6
Built from https://develop.svn.wordpress.org/branches/5.0@46063


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 23:54:48 +00:00
desrosj d7e71b0458 WordPress 5.0.5.
Built from https://develop.svn.wordpress.org/branches/5.0@46044


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 22:06:41 +00:00
whyisjake a8c16b5330 Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras, jorgefilipecosta


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:50:46 +00:00
whyisjake e2ad4d2e2a Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras, jorgefilipecosta


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:50:35 +00:00
Andrew Ozz 4c7b037229 jQuery: Backport the patch from jQuery 3.4.0.
Merges [45342] to the 5.0 branch.

Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020.
Built from https://develop.svn.wordpress.org/branches/5.0@46017


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:44:01 +00:00
desrosj 1f26aab97c Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 5.0 branch.

Props irsdl, sstoqnov, whyisjake.
Built from https://develop.svn.wordpress.org/branches/5.0@46004


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:38:37 +00:00
whyisjake f99c8057e0 Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 21:37:50 +00:00
Sergey Biryukov 65d7b91757 Improve handling the existing `rel` attribute in `wp_rel_nofollow_callback()`.
Merges [45990] to the 5.0 branch.
Props xknown, sstoqnov.
Built from https://develop.svn.wordpress.org/branches/5.0@45993


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:47:47 +00:00
Sergey Biryukov 002e75631f Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 5.0 branch.
Props vortfu, whyisjake, peterwilsoncc.
Built from https://develop.svn.wordpress.org/branches/5.0@45974


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 17:05:47 +00:00
whyisjake bd6ae7b3eb Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 5.0 branch.

Props vortfu, whyisjake, peterwilsoncc

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@45756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:32:47 +00:00
Gary Pendergast 8e716641a0 WordPress 5.0.4, undoing the incorrect version bump in [44862].
Built from https://develop.svn.wordpress.org/branches/5.0@44866


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 00:44:45 +00:00
Gary Pendergast 08f8bb412e WordPress 5.0.5
Built from https://develop.svn.wordpress.org/branches/5.0@44862


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-13 00:35:46 +00:00
Sergey Biryukov ed88ef2072 Comments: Improve comment content filtering.
Merges [44842] to the 5.0 branch.
Built from https://develop.svn.wordpress.org/branches/5.0@44844


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 22:33:45 +00:00
Sergey Biryukov 4c251a6373 Formatting: Improve `rel="nofollow"` handling in comments.
Merges [44833] to the 5.0 branch.
Built from https://develop.svn.wordpress.org/branches/5.0@44835


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 22:18:47 +00:00
desrosj 4aecf904f2 Post WordPress 5.0.3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@44523


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 19:06:47 +00:00
desrosj 6cb9d75640 WordPress 5.0.3.
Built from https://develop.svn.wordpress.org/branches/5.0@44521


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 18:10:44 +00:00
desrosj 7464de6273 About: Add 5.0.3 details to the about page.
Fixes #45884.
Built from https://develop.svn.wordpress.org/branches/5.0@44520


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-09 17:40:46 +00:00
desrosj 07237344d2 Post WordPress 5.0.3-RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@44445


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 23:09:46 +00:00
desrosj b09f8b7589 WordPress 5.0.3-RC1.
Built from https://develop.svn.wordpress.org/branches/5.0@44444


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 22:56:45 +00:00
Joe McGill 7ca9a37c89 Upload: Fix upload failures of common text file types.
This adds some special case handling in 'wp_check_filetype_and_ext()' that prevents some common file types from being blocked based on mismatched MIME checks, which were made more strict in WordPress 5.0.1.

Merges [44438], [44439], [44441], and [44442] to the 4.9 branch.

Props Kloon, birgire, tellyworth, joemcgill.
See #45615.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 22:23:52 +00:00
desrosj dd2338ad41 Block Editor: Display notice to the user when JavaScript is disabled.
Currently, when viewing the block editor with JavaScript disabled, the user sees a blank admin page with the admin menu sidebar. This adds an admin notice informing the user that JavaScript is required for the new block editor.

Props mkaz, pento, azaozz, ocean90, desrosj.

Merges [44437] to the 5.0 branch.
Fixes #45453.
Built from https://develop.svn.wordpress.org/branches/5.0@44440


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 20:59:45 +00:00
Sergey Biryukov 9c8873e942 Default Themes: Bump the version numbers and release dates.
Update the theme versions and release dates for the default themes, in time for WordPress 5.0.3.

The POT file for Twenty Eleven has also been updated.

Props laurelfulford.
Merges [44435] to the 5.0 branch.
Fixes #45792.
Built from https://develop.svn.wordpress.org/branches/5.0@44436


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 19:01:46 +00:00
Sergey Biryukov 9fdc9c60c3 Bundled Themes: Bump script and style version numbers.
When existing scripts or styles are updated in default themes, the version numbers in the enqueues should also be bumped to make sure the old files don't cache. This update bumps version numbers for changes since version 5.0, for themes Twenty Eleven through Twenty Nineteen. 

Props laurelfulford.
Merges [44382] to the 5.0 branch.
Fixes #45679.
Built from https://develop.svn.wordpress.org/branches/5.0@44434


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 18:40:45 +00:00
Sergey Biryukov 86f3506479 Twenty Twelve: Correct `padding` rule precedence for Quote block.
Props superpoincare.
Merges [44432] to the 5.0 branch.
Fixes #45794.
Built from https://develop.svn.wordpress.org/branches/5.0@44433


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 18:35:47 +00:00
Sergey Biryukov 8e5a620bb3 Bundled Themes: Make sure button blocks respect settings.
When the original block editor styles were added to the existing default themes, the button blocks were styled to match how each theme styled the `button` tag. 

However, the styles should respect the block editor's default style, "Rounded", and allow switching to the other styles, like "Outlined" and "Square".

Props laurelfulford.
Merges [44381] to the 5.0 branch.
Fixes #45541.
Built from https://develop.svn.wordpress.org/branches/5.0@44430


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 16:18:45 +00:00
Sergey Biryukov 8735b64a56 Twenty Nineteen: Update theme description and tags.
The original theme description in Twenty Nineteen was intended as a placeholder; this update replaces it with a proper description, and removes the unnecessary `theme-options` tag. 

Props jobthomas, kjellr.
Merges [44377] to the 5.0 branch.
Fixes #45693.
Built from https://develop.svn.wordpress.org/branches/5.0@44429


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 16:11:44 +00:00
Sergey Biryukov ef2e5af1f6 Twenty Nineteen: Push right-aligned image block outside of text column.
Update right-aligned image block styles to push them outside of the text column on the front end, to match the original design and how the block looks in the editor.

Props kjellr, joen, allancole.
Merges [44371] to the 5.0 branch.
Fixes #45716.
Built from https://develop.svn.wordpress.org/branches/5.0@44428


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 16:06:45 +00:00
Sergey Biryukov 69ca1a8227 Twenty Nineteen: Remove transparency from submenus.
On pages and posts with featured images, the top level menu items have a slight transparency on hover, which was being inherited by their submenus. This update removes that inheritance, improving readability and consistency in the menu's appearance. 

Props kjellr.
Merges [44368] to the 5.0 branch.
Fixes #45689.
Built from https://develop.svn.wordpress.org/branches/5.0@44427


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 16:02:44 +00:00
Sergey Biryukov 6787d4d602 Twenty Nineteen: Improve menu semantics and keyboard navigation.
The menu's original markup included some non-semantic tags and an unnecessary tabindex attribute that made it difficult to navigate via keyboard. 

Props allancole, anevins, kjellr.
Merges [44376] to the 5.0 branch.
Fixes #45713.
Built from https://develop.svn.wordpress.org/branches/5.0@44426


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 16:00:46 +00:00
Sergey Biryukov 0e773d035b Twenty Seventeen: Improve selectors for block editor custom colors.
Twenty Seventeen's original styles for the block editor custom colors had some issues: they weren't being applied to the button blocks due to lack of specificity, and when applied to paragraph blocks, there was no padding in the editor. This update makes sure the colors and related styles work as expected.

Props laurelfulford.
Merges [44402] to the 5.0 branch.
Fixes #45426.
Built from https://develop.svn.wordpress.org/branches/5.0@44425


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:56:47 +00:00
Sergey Biryukov ec11149825 Twenty Nineteen: Fix hover appearance for outlined button block style.
The outlined button block style was displaying white text on a white background on hover. This update makes sure the text remains legible on hover when this button style is applied. 

Props rickalee, kjellr.
Merges [44370] to the 5.0 branch.
Fixes #45726.
Built from https://develop.svn.wordpress.org/branches/5.0@44424


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:51:46 +00:00
Sergey Biryukov be6225e91b Twenty Fourteen: Remove text decoration from button block.
The button block in Twenty Fourteen was incorrectly inheriting a text underline from the theme's link styles.

Props bobbingwide.
Merges [44378] to the 5.0 branch.
Fixes #45732.
Built from https://develop.svn.wordpress.org/branches/5.0@44423


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:47:50 +00:00
Sergey Biryukov 170e75b863 Twenty Nineteen: Remove underline from "Continue Reading" arrow.
The "Continue Reading" link that's generated by the More block is styled to include an arrow next to the text; that arrow shouldn't inherit the text underline style. This update removes it. 

Props littlebigthing, kjellr.
Merges [44369] to the 5.0 branch.
Fixes #45715.
Built from https://develop.svn.wordpress.org/branches/5.0@44422


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:45:46 +00:00
Sergey Biryukov 88b5ee5505 Twenty Fourteen: Correct video play button position.
A change to the MediaElement.js caused Twenty Fourteen's custom video play button to display in the top corner, rather than centered. This update returns it to its correct position. 

Props mmaumio, celloexpressions.
Merges [44380] to the 5.0 branch.
Fixes #44664.
Built from https://develop.svn.wordpress.org/branches/5.0@44421


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 15:42:46 +00:00
Dominik Schilling 0f3c9c54a0 I18N: Expose JSON translation file paths in `load_script_textdomain()`.
Removes `file_exist()` checks before calling `load_script_translations()` to let the determined paths be passed to `load_script_translations()` which provides its own file check and the possibility to filter the path.

Merge of [44418] to the 5.0 branch.

Props swissspidy, johnbillion, ocean90.
Fixes #45769.
Built from https://develop.svn.wordpress.org/branches/5.0@44419


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-07 14:42:46 +00:00
desrosj 8b0f279239 Twenty Seventeen: Use a simple counter incremented with each call instead of `uniqid()` for generating unique IDs for HTML elements.
Props westonruter, laurelfulford.

Merges [43659] and [44408] to the 5.0 branch.
Fixes #44883.
Built from https://develop.svn.wordpress.org/branches/5.0@44409


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:19:45 +00:00
desrosj fca82f9a73 General: Introduce `wp_unique_id()`, a PHP implementation of Underscore's `uniqueId` method.
A static variable contains an integer that is incremented with each call. This number is returned with the optional prefix.
As such the returned value is not universally unique, but it is unique across the life of the PHP process.

Props westonruter, dlh.

Merges [43658] and [44406] to the 5.0 branch.
See #44883.
Built from https://develop.svn.wordpress.org/branches/5.0@44407


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:08:45 +00:00
desrosj f3438c4751 Accessibility: Insert Link modal: Improve keyboard interaction.
Avoids change the selected link when using the Shift + Up/Down arrow keys
to select text in the form fields.

Props afercia.

Merges [42807] to the 5.0 branch.
Fixes #43253.
Built from https://develop.svn.wordpress.org/branches/5.0@44405


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 19:43:46 +00:00
Dominik Schilling 4bdc915736 I18N/Script Loader: Support text domains other than "messages".
The inline JavaScript added by `WP_Scripts::print_translations()` should check whether `locale_data.$text_domain` exists and fall back to `locale_data.messages` otherwise.

Merge of [44403] to the 5.0 branch.

Props swissspidy.
Fixes #45441.
Built from https://develop.svn.wordpress.org/branches/5.0@44404


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 17:06:46 +00:00
desrosj a59e536374 Editor: Use explicit context instead of a trailing space for Edit string in TinyMCE.
In [42523], `trunk` was updated to use explicit context instead of a trailing space for the Edit string in TinyMCE plugins. [43472] later backported this change, but the string in `class-wp-editor.php` was missed. This fixes the `Edit` string so not display as `Edit|button` in the 5.0 branch.

Props dimadin.

See #42543, #44134.
Fixes #44919.
Built from https://develop.svn.wordpress.org/branches/5.0@44401


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-05 04:14:44 +00:00
desrosj 194e7eb034 Editor: Allow the “Add Media” button tooltip to be translated in the Classic block.
In the Classic Editor, the “Add Media” button was outside of the TinyMCE editor. In the Block Editor, the “Add Media” button was moved into the TinyMCE toolbar in the Classic block, but the tooltip was not added to the list of translatable strings. This adds “Add Media” to that list.

The corresponding keyboard shortcut is also specified for the “Add Media” button.

Props afercia.

Merges [44398-44399] to the 5.0 branch.
Fixes #45788.
Built from https://develop.svn.wordpress.org/branches/5.0@44400


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-05 03:51:46 +00:00