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
325cb107d1
Build Tools: Update the @wordpress
packages.
...
This brings support for the custom fields meta box to the block editor.
The `webpack` and `copy-webpack-plugin` packages have also been updated.
See #45145 .
Fixes #45257 .
Built from https://develop.svn.wordpress.org/branches/5.0@43861
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-03 07:57:54 +00:00
Gary Pendergast
eb4031a209
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.
Props noisysocks.
Fixes #45247 .
Built from https://develop.svn.wordpress.org/branches/5.0@43854
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-01 02:25:47 +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
59c4bcebcc
Build Tools: Update the @wordpress
packages.
...
Trunk now matches Gutenberg 4.2 RC1.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43847
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-31 18:15:02 +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
allancole
b8cb0e7058
Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.
...
Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen
Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart.
Built from https://develop.svn.wordpress.org/branches/5.0@43842
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-30 02:15:04 +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
ebb5e6dd0d
Build Tools: Upgrade @wordpress
packages to the latest version.
...
This also includes the new `@wordpress/format-library` and `@wordpress/notices` packages.
`package-lock.json` has been completely regenerated in this commit.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43840
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:36:36 +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
Gary Pendergast
91ce38b3d5
Build Tools: Revert [43826] and [43824].
...
Grabbing the packages directly from the Gutenberg repo was an interesting experiment, but it causes significant workflow issues, particular for folks using Windows.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43835
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-29 08:27:39 +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
atimmer
efb928cd0b
Build tools: Clone and build from packages repo.
...
Instead of requiring the packages individually this commit changes it so the packages are used from the packages repository (gutenberg). This is a solution that makes updating the packages easier, as long as we don't have a monorepo to manage both WordPress & the JavaScript packages together.
Props youknowriad, gziolo, omarreiss, herregroen.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43824
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-26 07:33:26 +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
atimmer
8efbcce93b
Build tools: Upgrade @wordpress packages.
...
Generated using `npm update @wordpress/api-fetch @wordpress/blob @wordpress/block-library @wordpress/blocks @wordpress/components @wordpress/compose @wordpress/core-data @wordpress/data @wordpress/date @wordpress/dom @wordpress/edit-post @wordpress/editor @wordpress/element @wordpress/escape-html @wordpress/list-reusable-blocks @wordpress/nux @wordpress/plugins @wordpress/redux-routine @wordpress/rich-text @wordpress/url @wordpress/viewport`.
See #45145 .
Built from https://develop.svn.wordpress.org/branches/5.0@43789
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-23 06:06:59 +00:00
Gary Pendergast
49702cca54
TinyMCE: remove stray CSS map reference from skin.min.css
.
...
Merges [43581] to the 5.0 branch.
Props pross.
Fixes #44785 .
Built from https://develop.svn.wordpress.org/branches/5.0@43787
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-22 06:05:39 +00:00
danielbachhuber
6c9675bf37
REST API: Handle api-request query parameters with plain permalinks.
...
When constructing the request URL, ensure that `?` is replaced with `&` when the API root already contains a `?`. Fixes an issue where requests were broken when sites had permalinks set to plain.
Props aduth.
Merges [42965] to the 5.0 branch.
Fixes #42382 .
Built from https://develop.svn.wordpress.org/branches/5.0@43771
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 18:33:39 +00:00
Gary Pendergast
158cbdbf03
Build Tools: Copy package JavaScript and CSS into wp-includes
.
...
- `grunt webpack:dev` now copies packages JS into `/src/wp-includes/js/dist`, and CSS into `/src/wp-includes/css/dist`.
- `grunt webpack:prod` does the same, but into `/build` instead of `/src`.
- `grunt build` now runs the `webpack:prod` task.
Props atimmer, pento.
Fixes #45119 .
Built from https://develop.svn.wordpress.org/branches/5.0@43760
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-19 06:06:46 +00:00
danielbachhuber
a5bd8cb64c
REST API: generate a valid fallback URI in wp.api.utils.getRootURL.
...
When window.location.origin isn't set, correctly insert two slashes between the protocol and host when constructing the fallback URL.
Props abdullahramzan.
Merges [43566] into the 5.0 branch.
Fixes #44764 .
Built from https://develop.svn.wordpress.org/branches/5.0@43757
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-18 20:49:25 +00:00
Sergey Biryukov
4af0279f2a
Embeds: Avoid a JS error in wp.receiveEmbedMessage
if data
parameter is not set.
...
Props dsifford, kadamwhite.
Merges [43593] and [43597] to the 5.0 branch.
Fixes #44832 .
Built from https://develop.svn.wordpress.org/branches/5.0@43704
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-11 04:00:23 +00:00
atimmer
3810f7a3ef
Build tools: Upgrade webpack to version 4.
...
* Minification is done by uglify, so disable that in the media build.
* The webpack boilerplate has changed, which explains the changes in the build files.
* `ModuleConcatenationPlugin` is enable by default for production builds so we don't have to specify that ourselves.
See #45065 .
Built from https://develop.svn.wordpress.org/branches/5.0@43688
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-10 04:16:23 +00:00
Aaron Jorbin
dda1111bdf
Build/Test Tools: Revert grunt-contrib-uglify update
...
Follow up to [43684].
See #45064 .
Built from https://develop.svn.wordpress.org/branches/5.0@43686
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-10 04:11:25 +00:00
Aaron Jorbin
a870c7e8f3
Build/Test: Update dependencies for 5.0
...
Updates package dependencies to more modern versions, also adds .nvmrc and package-lock.json as followups to [43683] and [43571].
See #44600 .
Fixes #45064 .
Built from https://develop.svn.wordpress.org/branches/5.0@43684
git-svn-id: http://core.svn.wordpress.org/branches/5.0@43513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-09 02:52:45 +00:00
Andrew Ozz
6547731cfe
TinyMCE: update to 4.8.0, changelog: https://www.tiny.cloud/docs/changelog/#version480july112018
...
Merges [43447] to the 4.9 branch.
Fixes #44134 .
Built from https://develop.svn.wordpress.org/branches/4.9@43472
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-17 10:04:26 +00:00
Gary Pendergast
cb0ea9d291
Emoji: Update Twemoji to version 11.0.
...
🦹
Backport of [43377] to the 4.9 branch.
Props kraftbj,
Fixes #44339 .
Built from https://develop.svn.wordpress.org/branches/4.9@43444
git-svn-id: http://core.svn.wordpress.org/branches/4.9@43271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-13 06:37:26 +00:00
Andrew Ozz
b78d21d9f0
Privacy: add default text for a privacy policy including a tutorial on now to create one.
...
Insert both the text and tutorial in new policy pages and highlight is brightly in the editor.
Show only the suggested text in the policy postbox.
Props melchoyce, idea15, allendav, xkon, macbookandrew, azaozz.
Merges [43044], [43048], [43052], [43126], [43146], and [43148] to the 4.9 branch.
Fixes #43473 .
Built from https://develop.svn.wordpress.org/branches/4.9@43149
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-03 17:59:30 +00:00
Sergey Biryukov
85d1ba9726
TinyMCE: Update to 4.7.11.
...
Props iseulde.
Merges [43004] to the 4.9 branch.
Fixes #43862 .
Built from https://develop.svn.wordpress.org/branches/4.9@43068
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:31:24 +00:00
Sergey Biryukov
ee43146223
Privacy: add "Mine" filter for media similarly to posts and comments.
...
Props audrasjb.
Merged [43056], [43062], [43063] to the 4.9 branch.
Fixes #43820 .
Built from https://develop.svn.wordpress.org/branches/4.9@43064
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-01 22:04:28 +00:00
Dominik Schilling
760aa16ab8
Media: Update minified version of imgAreaSelect after [42874].
...
Adds imgAreaSelect to the uglify grunt process.
Merge of [42930] to the 4.9 branch.
Props adamsilverstein.
See #41242 .
Built from https://develop.svn.wordpress.org/branches/4.9@42932
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-03 19:51:37 +00:00
Adam Silverstein
4650753c6b
Media: Fix image cropping on touch screen devices.
...
* In initCrop, handle touch events in addition to mouse events.
* In imageSelect jQuery plugin, accept event.which of 0 as provided by touch events.
Props yahil, alexgso, joemcgill.
Merges [42818] to the 4.9 branch.
Fixes #41242 .
Built from https://develop.svn.wordpress.org/branches/4.9@42874
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-24 20:26:42 +00:00
Dominik Schilling
04d41666dc
REST API JavaScript Client: Support an empty string for nonce
to disable sending the X-WP-Nonce header.
...
Passing a `nonce` argument with an empty string to `wp.api.init()` now does no longer fall back to `wpApiSettings.nonce`. This makes it possible to stop sending nonce headers, for example to a read-only endpoint on another site in a multisite install.
Merge of [42852] to the 4.9 branch.
Props adamsilverstein, FPCSJames, ocean90, swissspidy.
See #42948 , #43266 .
Built from https://develop.svn.wordpress.org/branches/4.9@42854
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 20:04:42 +00:00
Dominik Schilling
7faddf9e50
REST API JS Client: Extend custom nonce functionality to collections.
...
This brings the improved nonce handling from [41553] to collections to remove the direct `wpApiSettings.nonce` dependency.
Merge of [42851] to the 4.9 branch.
Props adamsilverstein, ocean90, swissspidy.
See #43265 .
Built from https://develop.svn.wordpress.org/branches/4.9@42853
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 20:00:40 +00:00
Dominik Schilling
276dbdc296
Media: Grid view - correct placeholder positioning during uploads.
...
Preventing contextually created attachments from being added to the grid collection in Attachments.validator. Remove the previous filtering introduced in [41937] which caused the placement issue.
Merge of [42739-42740] to the 4.9 branch.
Props lancewillett, Junaidkbr, designsimply, joemcgill.
Fixes #42968 .
Built from https://develop.svn.wordpress.org/branches/4.9@42848
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 16:20:37 +00:00
Sergey Biryukov
a91c3fbdc0
General: Replace Cheatin’ uh?
with friendlier error messages.
...
While intended as a playful error message, `Cheatin’ uh?` can be interpreted as insulting or accusatory in an already stressful situation. This replaces Cheatin’ with more meaningful error messages, depending on the error that occurs.
Props ElectricFeet, EricMeyer, karmatosed, dd32, BandonRandon, melchoyce, kristastevens for language; dmsnell for original patch; peterwilsoncc.
Merged [42648] and [42719] to the 4.9 branch.
Fixes #38332 .
Built from https://develop.svn.wordpress.org/branches/4.9@42811
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-09 00:15:42 +00:00
Sergey Biryukov
b7df04afe4
Media: avoid page scrolling when opening the media modal.
...
Moves focus to a proper element within the media modal to avoid the underlying
page to scroll to the bottom. Removes the media modal `freeze` option.
Props andreiglingeanu, adamsilverstein.
Merges [42624] to the 4.9 branch.
Fixes #39859 .
Built from https://develop.svn.wordpress.org/branches/4.9@42627
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-31 23:55:41 +00:00
Sergey Biryukov
8d9813f6f6
Customize: Ensure media playlists get initialized after selective refresh; expose new wp.playlist.initialize()
API.
...
In particular allows audio and video playlists to be added to the Text widget and previewed.
Props bpayton, westonruter.
See #40854 .
Merges [42613], [42617] to the 4.9 branch.
Fixes #42495 .
Built from https://develop.svn.wordpress.org/branches/4.9@42622
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-30 14:56:41 +00:00
Sergey Biryukov
ff4c656579
Emoji: Update Emoji browser support tests for Twemoji v2.4.0
...
Really, following [42598].
Props peterwilsoncc.
Merges [42602] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42603
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 22:05:39 +00:00
Sergey Biryukov
09a5894a92
Emoji: Update Emoji browser support tests for Twemoji v2.4.0
...
Replaces the fairy (male) browser support test with a woman in business suit levitating. While the things that make people different sometimes become less obvious this isn't always a problem, because the things that make you strange are the things that make you powerful.
Props peterwilsoncc.
Merges [42598] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42601
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:55:40 +00:00
Sergey Biryukov
519f479887
Media: Fix JSHint error after [42595].
...
Merges [42599] to the 4.9 branch.
See #42646 .
Built from https://develop.svn.wordpress.org/branches/4.9@42600
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:53:38 +00:00
Sergey Biryukov
4224f6e214
Media: Store and reuse image cropper ratio settings if available, instead of overwriting.
...
Props adamsilverstein.
Merges [42595] to the 4.9 branch.
Fixes #42646 .
Built from https://develop.svn.wordpress.org/branches/4.9@42596
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 21:41:41 +00:00
Sergey Biryukov
723d0f2669
Media: Introduce a custom error handler for MediaElement.js to display a download link if a FLV file cannot be rendered for any reason.
...
Props Clorith.
Merges [42582] to the 4.9 branch.
Fixes #42643 .
Built from https://develop.svn.wordpress.org/branches/4.9@42583
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-24 01:53:38 +00:00
Andrew Ozz
bbb8a324c7
Merged revision(s) 42576 from trunk:
...
TinyMCE: backport bug fixes to `NotificationManager` and `WindowManager` from d1877933fa (diff-2e5c98d81ce2481aa1042b2320728b65)
and to `MultiRange` from 250675bb7b
.
Props peterwilsoncc, azaozz.
Fixes #42722 for 4.9.3, see #43012 .
Built from https://develop.svn.wordpress.org/branches/4.9@42577
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 19:41:42 +00:00
Sergey Biryukov
83dc4c9339
Emoji: Update Twemoji to 2.4.0.
...
WordPress was already on 2.5.0, but Twemoji decided to break their versioning, so 2.4.0 is actually the latest release.
Merges [42566] to the 4.9 branch.
Fixes #42862 .
Built from https://develop.svn.wordpress.org/branches/4.9@42567
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 11:51:41 +00:00
Aaron Jorbin
c4277abb33
Remove JSHint due to license compatibility
...
Backports [42547] without adding new files due to how minor updates work.
JSHint inherits a license from JSLint that includes the clause "The Software shall be used for Good, not Evil." WordPress's license specifically allows grants the freedom to run the program, for any purpose. Please note, this is not an encouragement of evil. Rather than doing something evil, how about learning to love those around you. Instead of tweeting lies and saying people are "Not Good!", help your neighbor. In the words of Lin Manual Miranda, "Love is love is love is love is love is love is love is love, cannot be killed or swept aside."
This replaces JSHint with esprima, a part of the larger jQuery project, and a custom wrapper for some basic error checking within codemirror.
The existing JSHint configuration is kept in place in case someone wants to use that, but they can only do so for Good.
Fixes #42850
Props netweb for a spelling fix on a comment.
Built from https://develop.svn.wordpress.org/branches/4.9@42548
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 03:38:41 +00:00
Dion Hulse
e77f8257ea
External Libraries: Remove unnecessary / obsoleted MediaElement.js files.
...
Props joemcgill.
Merges [42462] to the 4.9 branch.
Fixes #42720 for 4.9.
Built from https://develop.svn.wordpress.org/branches/4.9@42465
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-16 06:41:51 +00:00
Sergey Biryukov
b8ebacbf82
Editor: Link suggestions: add fallback title for posts with no title.
...
Props afercia.
Merges [42425] to the 4.9 branch.
Fixes #42664 .
Built from https://develop.svn.wordpress.org/branches/4.9@42439
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-12 20:13:38 +00:00
Weston Ruter
160e61fddf
Editor: Fix determining TinyMCE editor width when in inline mode instead of iframe mode.
...
See #40854 .
Amends [41985].
Props aduth.
Fixes #42416 for 4.9.
Built from https://develop.svn.wordpress.org/branches/4.9@42391
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-13 05:19:40 +00:00
Weston Ruter
35b40d1001
Editor: Re-build tinymce.min.js
after [42191].
...
See #42553 .
Built from https://develop.svn.wordpress.org/branches/4.9@42194
git-svn-id: http://core.svn.wordpress.org/branches/4.9@42024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-15 23:36:39 +00:00
Konstantin Obenland
99c19a5a82
Codemirror: Unify line endings in csslint.js
...
This is likely a problem caused upstream and will probably be a non-issue once #41870 is merged in a future release.
Fixes #42424 .
Built from https://develop.svn.wordpress.org/trunk@42110
git-svn-id: http://core.svn.wordpress.org/trunk@41939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-02 22:31:47 +00:00