WordPress commits: wp-5.0 branch

git: 12be6cd
svn: r46510
1 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-10-14 20:05:28 +0000
WordPress 5.0.7.
No action taken yet
git: a44cc35
svn: r46492
2 of 389
Author
Jake Spurlock <[email protected]> 2019-10-14 18:26:01 +0000
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.
Backported in 30c498e
git: fad34f4
svn: r46063
3 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 23:53:38 +0000
WordPress 5.0.6
No action taken yet
git: bfc2704
svn: r46044
4 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 21:23:16 +0000
WordPress 5.0.5.
No action taken yet
git: af4e78c
svn: r46029
5 of 389
Author
Jake Spurlock <[email protected]> 2019-09-04 21:13:51 +0000
Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras, jorgefilipecosta
No action taken yet
git: 626da45
svn: r46017
6 of 389
Author
Andrew Ozz <[email protected]> 2019-09-04 18:38:27 +0000
jQuery: Backport the patch from jQuery 3.4.0.
Merges [45342] to the 5.0 branch.

Props MikeNGarrett, peterwilsoncc, azaozz.
Fixes #47020.
Backported in 84968d9
git: 810fd45
svn: r46004
7 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-09-04 18:10:34 +0000
Fix for URL sanitization in `wp_kses_bad_protocol_once()`.
Merges [45997] to the 5.0 branch.

Props irsdl, sstoqnov, whyisjake.
Backported in 489488a
git: c59273e
svn: r46003
8 of 389
Author
Jake Spurlock <[email protected]> 2019-09-04 18:03:24 +0000
Update the block library to 2.2.17 to fix an issue with invalid shortcode blocks.
Props aduth, flaviozavan, epiqueras
No action taken yet
git: 9ab36e0
svn: r45993
9 of 389
Author
Sergey Biryukov <[email protected]> 2019-09-04 17:46:02 +0000
Improve handling the existing `rel` attribute in `wp_rel_nofollow_callback()`.
Merges [45990] to the 5.0 branch.
Props xknown, sstoqnov.
Backported in 7b5700b
git: 8d7e1d1
svn: r45974
10 of 389
Author
Sergey Biryukov <[email protected]> 2019-09-04 17:04:15 +0000
Improve URL validation in `wp_validate_redirect()`.
Merges [45971] to the 5.0 branch.
Props vortfu, whyisjake, peterwilsoncc.
Backported in 8382dd5
git: 8ff16f0
svn: r45945
11 of 389
Author
Jake Spurlock <[email protected]> 2019-09-04 16:31:20 +0000
Remove _convert_urlencoded_to_entities() from the get_the_content() callback.
Merges [45937] to the 5.0 branch.

Props vortfu, whyisjake, peterwilsoncc
Backported in df914e5
git: ec0d18f
svn: r45941
12 of 389
Author
Sergey Biryukov <[email protected]> 2019-09-04 16:25:25 +0000
Escape the output in `wp_ajax_upload_attachment()`.
Merges [45936] to the 5.0 branch.
Props whyisjake, sstoqnov.
Backported in 1c174bc
git: 6db8a5d
svn: r45005
13 of 389
Author
John Blackbourn <[email protected]> 2019-03-25 16:22:15 +0000
Build/Test tools: Further trimming of CI jobs on the 5.0 branch.
This removes the PHP 5.6 job which runs without an object cache in place as the likelihood of a change being backported that only breaks 5.6 environments without an object cache is small.

See #42387
No action taken yet
git: a494bb1
svn: r44995
14 of 389
Author
John Blackbourn <[email protected]> 2019-03-25 00:54:59 +0000
Build/Test tools: Switch npm dependency caching strategy on Travis CI.
This switches to caching npm's local cache instead of `node_modules` in order to prevent issues caused by modules compiled using a different version of node.

Merges [44993] into the 5.0 branch.

See #46632
No action taken yet
git: c3afc10
svn: r44992
15 of 389
Author
John Blackbourn <[email protected]> 2019-03-25 00:18:17 +0000
Build/Test tools: Trim the test matrix on Travis in order to speed up the 5.0 branch build.
This removes the PHP 7.2, 7.1, 7.0, 5.5, 5.4, 5.3, and nightly jobs.

See #42387, #40407
No action taken yet
git: 070b00c
svn: r44866
16 of 389
Author
Gary Pendergast <[email protected]> 2019-03-13 00:43:56 +0000
WordPress 5.0.4, undoing the incorrect version bump in [44862].
No action taken yet
git: b34a869
svn: r44862
17 of 389
Author
Gary Pendergast <[email protected]> 2019-03-13 00:34:09 +0000
WordPress 5.0.5
No action taken yet
git: d10c22b
svn: r44844
18 of 389
Author
Sergey Biryukov <[email protected]> 2019-03-12 22:32:54 +0000
Comments: Improve comment content filtering.
Merges [44842] to the 5.0 branch.
Backported in 1a6e216
git: cadb2bd
svn: r44835
19 of 389
Author
Sergey Biryukov <[email protected]> 2019-03-12 22:17:34 +0000
Formatting: Improve `rel="nofollow"` handling in comments.
Merges [44833] to the 5.0 branch.
Backported in d949ee8
git: a6d0325
svn: r44523
20 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-09 19:05:41 +0000
Post WordPress 5.0.3 version bump.
No action taken yet
git: d1b26da
svn: r44521
21 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-09 18:09:32 +0000
WordPress 5.0.3.
No action taken yet
git: f8951f6
svn: r44520
22 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-09 17:39:13 +0000
About: Add 5.0.3 details to the about page.
Fixes #45884.
No action taken yet
git: 8a68615
svn: r44445
23 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-07 23:08:42 +0000
Post WordPress 5.0.3-RC1 version bump.
No action taken yet
git: e9ae7de
svn: r44444
24 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-07 22:55:23 +0000
WordPress 5.0.3-RC1.
No action taken yet
git: d9a6440
svn: r44443
25 of 389
Author
Joe McGill <[email protected]> 2019-01-07 22:22:03 +0000
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.
Backported in b86cee8
git: a6c26ca
svn: r44440
26 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-07 20:58:09 +0000
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.
No action taken yet
git: 75a2ced
svn: r44436
27 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 19:00:45 +0000
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.
No action taken yet
git: 029f1c0
svn: r44434
28 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 18:39:03 +0000
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.
No action taken yet
git: 7ebf6c2
svn: r44433
29 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 18:34:28 +0000
Twenty Twelve: Correct `padding` rule precedence for Quote block.
Props superpoincare.
Merges [44432] to the 5.0 branch.
Fixes #45794.
No action taken yet
git: b2ba551
svn: r44430
30 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 16:17:31 +0000
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.
No action taken yet
git: b0abd9d
svn: r44429
31 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 16:10:07 +0000
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.
No action taken yet
git: 9e05b92
svn: r44428
32 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 16:05:48 +0000
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.
No action taken yet
git: 190ef35
svn: r44427
33 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 16:01:23 +0000
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.
No action taken yet
git: ffa3a4e
svn: r44426
34 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:59:04 +0000
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.
No action taken yet
git: 25bb41d
svn: r44425
35 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:55:06 +0000
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.
No action taken yet
git: 1574b76
svn: r44424
36 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:50:24 +0000
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.
No action taken yet
git: 5358fc0
svn: r44423
37 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:46:55 +0000
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.
No action taken yet
git: 4acf0f6
svn: r44422
38 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:44:36 +0000
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.
No action taken yet
git: 1f39070
svn: r44421
39 of 389
Author
Sergey Biryukov <[email protected]> 2019-01-07 15:41:44 +0000
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.
No action taken yet
git: 86acc5f
svn: r44419
40 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2019-01-07 14:41:53 +0000
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.
No action taken yet
git: 583df78
svn: r44409
41 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-06 20:18:08 +0000
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.
No action taken yet
git: f95257f
svn: r44407
42 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-06 20:07:34 +0000
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.
No action taken yet
git: 3f6df95
svn: r44405
43 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-06 19:42:36 +0000
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.
No action taken yet
git: 2acbb2a
svn: r44404
44 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2019-01-06 17:05:24 +0000
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.
No action taken yet
git: 239d1d1
svn: r44401
45 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-05 04:13:20 +0000
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.
No action taken yet
git: c3d5123
svn: r44400
46 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-05 03:50:46 +0000
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.
No action taken yet
git: 90ee9f5
svn: r44393
47 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2019-01-04 20:38:34 +0000
Script Loader: Load unminified package vendor scripts when `SCRIPT_DEBUG` is set.
The unminified package vendor scripts are bundled with the release package thus the value of the `SCRIPT_DEBUG` constant should be honored.

Merge of [44391] to the 5.0 branch.

Props earnjam.
Fixes #45535.
No action taken yet
git: 45a8f1d
svn: r44392
48 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-04 20:29:41 +0000
Customize: Safeguard a check on the `customize_validate_{$setting_id}` filter value to ensure it is a `WP_Error`.
While the filter is documented to only support a `WP_Error`, it has been a common practice to return true in a validation function if no errors have occurred. This was already caught when the same filter was executed in `WP_Customize_Setting`, it was however missing in `WP_Customize_Manager::validate_setting_values()`.

Props flixos90.

Merges [43578] to the 5.0 branch.
Fixes #44809.
Backported in 282a59f
git: 5340afd
svn: r44390
49 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-04 20:18:09 +0000
Block Editor: Upgrade `@WordPress` packages to the latest versions.
Updated packages:

- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]

Props: youknowriad, gziolo, desrosj.

Merges [44389] to the 5.0 branch.
Fixes #45814.
No action taken yet
git: d55618e
svn: r44387
50 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-03 18:55:00 +0000
Customize: Pass missing parameter to `dynamic option_{$option}` filter in `WP_Customize_Widgets::capture_filter_pre_get_option()`.
This prevents a potential fatal error from an `ArgumentCountError` exception in PHP 7.1 or greater

Props dlh.

Merges [43561] to the 5.0 branch.
Fixes #44770.
No action taken yet
git: c49005a
svn: r44384
51 of 389
Author
Jonathan Desrosiers <[email protected]> 2019-01-03 16:23:09 +0000
Happy New Year!
Fixes Tests_Basic::test_license

Merges [44379] to the 5.0 branch.

Props jorbin.
No action taken yet
git: 0acb4eb
svn: r44357
52 of 389
Author
laurelfulford <[email protected]> 2018-12-21 21:08:56 +0000
Twenty Nineteen: Make sure links are followed on touchend, not touchstart.
The theme's original navigation JavaScript was making it so all links on a site were immediately followed on touchstart when using a touch-enabled device. This update makes sure links are followed at touchend, to improve usability and menu behavior.

Props anevins, panchen, kjellr.
Fixes #45510.
No action taken yet
git: eb965c2
svn: r44342
53 of 389
Author
Gary Pendergast <[email protected]> 2018-12-19 23:55:44 +0000
Post WordPress 5.0.2 version bump.
No action taken yet
git: 901f4fb
svn: r44340
54 of 389
Author
Gary Pendergast <[email protected]> 2018-12-19 23:21:49 +0000
WordPress 5.0.2.
No action taken yet
git: a0e2d2a
svn: r44339
55 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-19 22:27:51 +0000
Posts, Post Types: Correctly show hierarchical post type hierarchy in admin.
In [44185], a bug was introduced where hierarchical post types would not display in the correct default order (hierarchically).

This was caused by a `! isset()` check, which returned `false` after [44185], causing the correct default value to not be applied. This switches that conditional to use an `empty()` check, ignoring the new empty string assignment that was added to prevent a PHP notice when `compact()` is called.

Merges [44338] to the 5.0 branch.

Props davidbinda.
Fixes #45711.
Backported in 5ba06a7
git: c22f4e7
svn: r44337
56 of 389
Author
Gary Pendergast <[email protected]> 2018-12-19 22:18:44 +0000
About: Add 5.0.2 details to the about page.
Props desrosj.
Fixes #45703.
No action taken yet
git: 999a653
svn: r44323
57 of 389
Author
laurelfulford <[email protected]> 2018-12-19 02:48:14 +0000
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.2.

The POT files for Twenty Ten and Eleven have also been updated.

Merges [44322] into the 5.0 branch.
Fixes #45681.
No action taken yet
git: 65433fe
svn: r44290
58 of 389
Author
Gary Pendergast <[email protected]g> 2018-12-18 12:01:36 +0000
Post WordPress 5.0.2 RC2 version bump.
No action taken yet
git: dedead9
svn: r44289
59 of 389
Author
Gary Pendergast <[email protected]> 2018-12-18 11:51:07 +0000
WordPress 5.0.2 RC2
No action taken yet
git: 0f5de39
svn: r44288
60 of 389
Author
Gary Pendergast <[email protected]> 2018-12-18 11:07:46 +0000
i18n: Remove the `script_loader_src` filter from `load_script_textdomain()`.
This filter is superfluous here, the `load_script_textdomain_relative_path` should be used for customising the textdomain path.

See #45528.
Props dimadin.
No action taken yet
git: 6163135
svn: r44287
61 of 389
Author
Grzegorz (Greg) Ziółkowski <[email protected]> 2018-12-18 10:36:53 +0000
Block Editor: Upgrade @WordPress packages to the latest version (4.7.1)
Updated packages:

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

Props youknowriad, pento.

Fixes #45637.
No action taken yet
git: 3422c59
svn: r44284
62 of 389
Author
Gary Pendergast <[email protected]> 2018-12-18 03:39:14 +0000
i18n: Prevent a PHP warning when a mu-plugin loads a textdomain.
`determine_locale()` accesses the `$pagenow` global, but this is set after mu-plugins are loaded, so we need to check that it's been set.

Props swissspidy, azaozz.
See #45668.
No action taken yet
git: 8afa10d
svn: r44259
63 of 389
Author
Gary Pendergast <[email protected]> 2018-12-17 03:38:25 +0000
Post WordPress 5.0.2 RC1 version bump.
No action taken yet
git: 64e5554
svn: r44258
64 of 389
Author
Gary Pendergast <[email protected]> 2018-12-17 02:02:00 +0000
WordPress 5.0.2 RC1.
No action taken yet
git: b47bfb8
svn: r44248
65 of 389
Author
Gary Pendergast <[email protected]> 2018-12-16 23:56:13 +0000
Block Editor: Remove a deprecated notice being generated by the meta box compat functions.
See #45456.
No action taken yet
git: 37b8a45
svn: r44235
66 of 389
Author
laurelfulford <[email protected]> 2018-12-16 19:46:55 +0000
Twenty Seventeen: Update `font-family` for Simplified Chinese (zh_CN).
Fix the `font-family` used for Simplified Chinese (zh_CN) in the block editor CSS.

Props vaishalipanchal, ze3kr.
Fixes #45408.
No action taken yet
git: a8e72a1
svn: r44232
67 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-12-16 15:53:34 +0000
I18N: Introduce `load_script_translations()` as a wrapper for loading and filtering translation data for JavaScript files.
* Introduces `pre_load_script_translations` to short-circuit the function.
* Introduces `load_script_translation_file` to filter the file path for loading script translations.
* Introduces `load_script_translations` to filter the JSON-encoded translation data.

Props johnbillion, strategio, swissspidy, dimadin, ocean90.
See #45425.
No action taken yet
git: 35623ef
svn: r44231
68 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-12-16 11:05:53 +0000
Script Loader: Pass the suffix to package style handles to ensure correct file names for minified RTL stylesheets.
See #45547.
No action taken yet
git: 7ba3613
svn: r44213
69 of 389
Author
laurelfulford <[email protected]> 2018-12-15 20:20:44 +0000
Bundled Themes: Replace “Gutenberg” in code comments and classes.
This update replaces the term “Gutenberg” in the themes code comments and classes with something more future-friendly.

Fixes #45452.
No action taken yet
git: c1f981b
svn: r44212
70 of 389
Author
laurelfulford <[email protected]> 2018-12-15 20:00:28 +0000
Bundled Themes: Update default block appender selector.
The markup for the default block appender changed from a text input to a text area in the editor; this update makes the same change in the default theme styles.

Fixes #45450.
No action taken yet
git: 30684be
svn: r44211
71 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-15 17:26:37 +0000
Script Loader: Misplaced parenthesis when `wp-tinymce-lists` is added.
A closing parenthesis was misplaced in the `$scripts->add( 'wp-tinymce-lists' )` call, causing the dependencies and version to be incorrectly passed to `includes_url()` instead.

Props volodymyrkolesnykov.
Fixes: #45506.
No action taken yet
git: f948d08
svn: r44210
72 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-15 17:13:37 +0000
Twenty Sixteen: Fix superscript and subscript.
When using the block-based editor in Twenty Sixteen, superscript is displaying below the baseline and subscript is displaying above the baseline. This is the opposite of what should occur. This reverses the two to display correctly.

Props greg-raven, torontodigits, JDTrower.
Fixes: #44776.
No action taken yet
git: 902af36
svn: r44209
73 of 389
Author
herregroen <[email protected]> 2018-12-15 12:54:54 +0000
I18N: Fix JavaScript translations for subdirectory installations.
Fixes the `load_script_textdomain` function not resolving the md5 hash based on the relative path for WordPress installations in a subdirectory. Also adds a filter to allow sites using CDNs or other alternative asset locations to filter the relative path resolution.

Props akirk, fierevere, swissspidy, mypacecreator, babaevan, tmatsuur, ocean90.
Fixes #45528.
No action taken yet
git: 9a4211d
svn: r44208
74 of 389
Author
Gary Pendergast <[email protected]> 2018-12-15 01:30:32 +0000
Scripts: Remove an incorrect parameter sent to `wp_get_script_polyfill()`.
`wp_get_script_polyfill()` only accepts two parameters, but this call was passing a third.

Props swissspidy.
See #45472.
No action taken yet
git: 971928c
svn: r44206
75 of 389
Author
Gary Pendergast <[email protected]> 2018-12-15 00:16:41 +0000
REST API: Remove a duplicate `require_once()`.
In `WP_REST_Attachments_Controller::create_item()`, `wp-admin/includes/image.php` was being `require_once()`-ed... twice. The superflous `require_once()` has been quietly removed.

Props david.binda.
See #45420.
No action taken yet
git: afc1fcf
svn: r44205
76 of 389
Author
laurelfulford <[email protected]> 2018-12-14 23:24:49 +0000
Twenty Seventeen: Remove editor style that prevents images from being resized.
Twenty Seventeen’s editor styles contained an Internet Explorer 8 specific fix that stopped images from being scalable in the editor in other browsers. Since the editor no longer supports IE8, this fix can safely be removed. 

Props audrasjb, mihaivalentin, subrataemfluence.
Fixes #39738.
No action taken yet
git: 0a4165f
svn: r44204
77 of 389
Author
laurelfulford <[email protected]> 2018-12-14 23:09:40 +0000
Twenty Seventeen: Add focus style to cookies consent checkbox.
To improve accessibility, the cookies content checkbox in the comment form needed some visible indication when it’s in focus. 

Props pratikthink, afercia.
Fixes #44699.
No action taken yet
git: 935fff4
svn: r44203
78 of 389
Author
laurelfulford <[email protected]> 2018-12-14 22:52:55 +0000
Twenty Seventeen: Remove unnecessary `ol` styles from editor.
Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too.

Props mmaumio, edpittol.
Fixes #44775.
No action taken yet
git: 5853c65
svn: r44202
79 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-14 22:28:18 +0000
Twenty Nineteen: Fixes and improvements.
This commit fixes the final differences between the version of Twenty Nineteen in core and the one in GitHub. The two are now identical.

See #45424.
No action taken yet
git: 44a30da
svn: r44201
80 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-14 22:03:36 +0000
Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fix left/right-aligned pullquote spacing. https://github.com/WordPress/twentynineteen/pull/695
- Improve `readme.txt` to follow the correct standards for themes. https://github.com/WordPress/twentynineteen/issues/689

Props kjellr, allancole.

See #45424.
No action taken yet
git: e76dd65
svn: r44200
81 of 389
Author
laurelfulford <[email protected]> 2018-12-14 21:52:07 +0000
Twenty Sixteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45427.
No action taken yet
git: 73894e6
svn: r44199
82 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-14 21:50:16 +0000
Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fixes some minor code quality issues. https://github.com/WordPress/twentynineteen/pull/237
- Fix PHP Warning: Parameter must be an array or an object that implements Countable. https://github.com/WordPress/twentynineteen/pull/661
- Add missing text domain and escaping to comment author text. https://github.com/WordPress/twentynineteen/pull/274
- Remove hyphens rule for cover image text. https://github.com/WordPress/twentynineteen/pull/691

Props khleomix, grapplerulrich, iCaleb, kjellr, allancole.

See #45424.
No action taken yet
git: 6ae98f3
svn: r44198
83 of 389
Author
laurelfulford <[email protected]> 2018-12-14 21:39:47 +0000
Twenty Fifteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45428.
No action taken yet
git: 41a0551
svn: r44197
84 of 389
Author
laurelfulford <[email protected]> 2018-12-14 21:30:27 +0000
Twenty Fourteen: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45429.
No action taken yet
git: 6d78174
svn: r44196
85 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-14 21:23:52 +0000
Twenty Nineteen: Fixes and improvements.
This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

- Fix the gallery caption link color. https://github.com/WordPress/twentynineteen/pull/687
- Remove left padding from pullquote blocks. https://github.com/WordPress/twentynineteen/pull/690
- Print `skip-link-focus-fix` inline instead of enqueueing as blocking script. https://github.com/WordPress/twentynineteen/pull/47
- Fix and improve some strings with placeholders. https://github.com/WordPress/twentynineteen/pull/217

Props kjellr, allancole, dimadin, westonruter.

See #45424.
No action taken yet
git: afa8ba3
svn: r44195
86 of 389
Author
laurelfulford <[email protected]> 2018-12-14 21:13:56 +0000
Twenty Thirteen: Fix button block custom colors.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it. 

Fixes #45431.
No action taken yet
git: 0953eaa
svn: r44194
87 of 389
Author
laurelfulford <[email protected]> 2018-12-14 20:54:35 +0000
Twenty Twelve: Fix button block custom colors.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Also make sure the button’s gradient is not applied when a custom background color is added, since it will hide it. 

Fixes #45432.
No action taken yet
git: 58d1862
svn: r44193
88 of 389
Author
allancole <[email protected]> 2018-12-14 20:41:25 +0000
Updating Twenty Nineteen, the new default theme for 2019.
This update changes the following: 

- Add proper frontend styles for center aligned archive and category blocks. More info here: https://github.com/WordPress/twentynineteen/pull/684
- Fix image_filter theme option conditional function. More info here: https://github.com/WordPress/twentynineteen/pull/680
- Remove duplicate rule-line when a separator block is followed by H1/H2 in the editor. Props richtabor. More info here: https://github.com/WordPress/twentynineteen/pull/686

Props richtabor, kjellr.

See #45424.
No action taken yet
git: 338bf91
svn: r44192
89 of 389
Author
allancole <[email protected]> 2018-12-14 20:11:18 +0000
Updating Twenty Nineteen, the new default theme for 2019.
This change properly sets the primary color hue theme option. 

- More info: https://github.com/WordPress/twentynineteen/pull/683

Props richtabor.

See #45424.
No action taken yet
git: d6e02d5
svn: r44191
90 of 389
Author
laurelfulford <[email protected]> 2018-12-14 20:10:32 +0000
Twenty Eleven: Fix button block custom colors on front end.
Simplify some of the button block’s CSS selectors in the theme, to make sure the default colors don’t override the custom colors on the front end.

Fixes #45433.
No action taken yet
git: 4950598
svn: r44190
91 of 389
Author
laurelfulford <[email protected]> 2018-12-14 19:51:20 +0000
Twenty Eleven: Correct block editor `font-size` issue.
Update a mistake in Twenty Eleven's block editor styles that erroneously sets the `font-size` to `300`, when it should set the `font-weight` to `300`. This was causing browsers in quirks mode to make the editor font size very large. 

Fixes #45421.
No action taken yet
git: 91f4aee
svn: r44189
92 of 389
Author
allancole <[email protected]> 2018-12-14 19:48:17 +0000
Updating Twenty Nineteen, the new default theme for 2019.
This update changes the following: 

- Reverts the customization to the toolbar for wide and full blocks to make them more usable. More info here: https://github.com/WordPress/twentynineteen/pull/668
- Add nowrap to the columns block at breakpoints above 600px. More info here: https://github.com/WordPress/twentynineteen/pull/674

Props joen, kjellr.

Fixes #45369.

See #45424.
No action taken yet
git: 4de6cd3
svn: r44188
93 of 389
Author
laurelfulford <[email protected]> 2018-12-14 19:37:23 +0000
Twenty Ten: Custom colors should override `:visited` link styles on blocks.
Make sure the block editor custom colors in the theme also override the theme's `:visited` link styles. This prevents contrast issues, like in the button block -- when the background is dark, the purple `:visited` link can be difficult to read.

Fixes #45434.
No action taken yet
git: 49d906c
svn: r44187
94 of 389
Author
allancole <[email protected]> 2018-12-14 19:08:06 +0000
Updating Twenty Nineteen, the new default theme for 2019.
This change adds general code quality and documentation improvements. 

- More info here: https://github.com/WordPress/twentynineteen/pull/546

Props grapplerulrich, iCaleb.
No action taken yet
git: 5ddf67a
svn: r44185
95 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-12-14 16:31:30 +0000
PHP 7.3 Compatibility: Fix compact related notices.
In PHP 7.3, the `compact()` function has been changed to issue an `E_NOTICE` level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. This fixes a few more instances of unset variables in the WordPress admin.

The full RFC can be viewed here: https://wiki.php.net/rfc/compact.

See #44416.
Fixes #45483.
Backported in ce080b2
git: 06adae5
svn: r44183
96 of 389
Author
Riad Benguella <[email protected]> 2018-12-14 12:19:57 +0000
Block Editor: Upgrade @wordpress packages to the latest version (4.7).
Updated packages:

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

This also includes the updates the Core blocks.
The script loader is updated to match the Gutenberg repository too.

Props atimmer, gziolo, joen.
Fixes #45442, #45637.
No action taken yet
git: 0d21daa
svn: r44105
97 of 389
Author
Jeremy Felt <[email protected]> 2018-12-13 03:40:01 +0000
Post-5.0.1 version bump for 5.0 branch.
No action taken yet
git: 4c638e0
svn: r44077
98 of 389
Author
Jeremy Felt <[email protected]> 2018-12-13 02:10:39 +0000
Bump 5.0 branch to version 5.0.1.
No action taken yet
git: ab467c4
svn: r44050
99 of 389
Author
Peter Wilson <[email protected]> 2018-12-13 01:29:42 +0000
Multisite: Validate activation links.
Merges [44048] to the 5.0 branch.
Backported in 36152b6
git: 3bc992c
svn: r44047
100 of 389
Author
Gary Pendergast <[email protected]> 2018-12-13 01:24:11 +0000
Editor: Remove unwanted fields before saving posts.
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input.
Backported in 36152b6
git: d5529da
svn: r44022
101 of 389
Author
Peter Wilson <[email protected]> 2018-12-13 00:27:51 +0000
Multisite: Improve messaging for previously activated users.
Ensure activation of a site is not attempted multiple times and users are shown the correct message if they follow the link a second time.

Merges [44021] to the 5.0 branch.
Backported in 36152b6
git: 566db6c
svn: r44017
102 of 389
Author
Ian Dunn <[email protected]> 2018-12-12 23:59:25 +0000
KSES: Correct `@since` tags for `wp_kses_uri_attributes`.
r44014 introduced the `wp_kses_uri_attributes` function and filter, but incorrectly used `4.9.9` instead of `5.0.1`.
Backported in 36152b6
git: 1d7b4a3
svn: r44014
103 of 389
Author
Ian Dunn <[email protected]> 2018-12-12 23:52:05 +0000
KSES: Make the URI attributes DRY.
This commit introduces the `wp_kses_uri_attributes` function and filter. The function centralizes the list of attributes, in order to prevent inconsistency, and the filter provides a way for plugins to customize the attributes.
Backported in 36152b6
git: a2b0c8f
svn: r43994
104 of 389
Author
Gary Pendergast <[email protected]> 2018-12-12 23:11:33 +0000
KSES: Conditionally remove the `<form>` element from `$allowedposttags`.
To avoid backwards compatibility issues, `<form>` is re-added if a custom filter has added the `<input>` or `<select>` elements to `$allowedposttags`.
Backported in 36152b6
git: db9c425
svn: r43988
105 of 389
Author
Jeremy Felt <[email protected]> 2018-12-12 23:00:06 +0000
Media: Improve verification of MIME file types.
Backported in 36152b6
git: 1b91971
svn: r43972
106 of 389
Author
Gary Pendergast <[email protected]> 2018-12-06 19:45:08 +0000
WordPress 5.0.1-alpha.
No action taken yet
git: 666265c
svn: r43970
107 of 389
Author
Gary Pendergast <[email protected]> 2018-12-06 17:58:43 +0000
WordPress 5.0.
No action taken yet
git: c018324
svn: r43969
108 of 389
Author
Mel Choyce <[email protected]> 2018-12-06 02:50:17 +0000
Help/About: Upload videos to CDN and remove autoplay/loop.
Props skithund, afercia, lonelyvegan.
See #45178.
No action taken yet
git: fc81fea
svn: r43968
109 of 389
Author
Gary Pendergast <[email protected]> 2018-12-05 22:24:21 +0000
About: Move images to the CDN, and use `<picture>`.
Ensures the correct assets are used for the device loading the page.

Props joemcgill.
See #45178.
No action taken yet
git: d054ed0
svn: r43967
110 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 23:03:34 +0000
About: Add ℹ️ to the classic editor link, to make it stand out a little more.
Props melchoyce.
See #45178.
No action taken yet
git: 6d79bc1
svn: r43966
111 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 07:05:50 +0000
Post WordPress 5.0 RC3 version bump.
No action taken yet
git: ed3bc84
svn: r43965
112 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 06:53:08 +0000
WordPress 5.0 RC3.
No action taken yet
git: dec38c4
svn: r43964
113 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 04:31:52 +0000
Default Themes: Bump the version numbers and release dates.
With WordPress 5.0 just a few short days away, the default themes can have their version numbers bumped.

The POT files for Twentys Ten and Eleven have also been updated.

Props laurelfulford, maedahbatool, mrahmadawais, pento.
See #45167.
No action taken yet
git: ae4fc35
svn: r43963
114 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 04:16:28 +0000
Twenty Nineteen: Update the screenshot.
The screenshot is now up to date with the theme, and reflects the visuals in the About page.

Props kjellr, allancole.
See #45424.
No action taken yet
git: 05d632c
svn: r43962
115 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 04:11:11 +0000
Twenty Nineteen: Fix classic block icons not displaying with non-latin fonts.
Props kjellr, allancole.
See #45424.
No action taken yet
git: 583454d
svn: r43961
116 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 04:09:46 +0000
Twenty Nineteen: Fix non-breaking spaces being too wide on the front end.
This visual issue had been previously fixed in the block editor, is now fixed in the published post, too.

Props kjellr, allancole.
See #45424.
No action taken yet
git: 0cea68e
svn: r43960
117 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 02:10:44 +0000
Scripts: Ensure sub-directory WordPress installs can load polyfill scripts.
`wp_get_script_polyfill()` bypasses `WP_Scripts::do_item()`, so didn't transform the script path into its fully qualified URL.

Props swissspidy, ocean90.
See #45469.
No action taken yet
git: d09e22f
svn: r43959
118 of 389
Author
Gary Pendergast <[email protected]> 2018-12-04 01:12:47 +0000
l10n: Ensure JavaScript language packages are loaded for the user locale.
`load_script_textdomain()` had a reversed check to decide if the user locale should be loaded. This check is now replaced with `determine_local()`.

Props ocean90.
See #45465.
No action taken yet
git: 764de9f
svn: r43958
119 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-11-30 23:16:38 +0000
Post WordPress 5.0 RC2 version bump.
No action taken yet
git: 165e94a
svn: r43957
120 of 389
Author
Jonathan Desrosiers <[email protected]> 2018-11-30 23:04:30 +0000
WordPress 5.0 RC2.
No action taken yet
git: 6a43a9f
svn: r43956
121 of 389
Author
allancole <[email protected]> 2018-11-30 22:35:02 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This changes fixes a security issue found in a dependency script used in our build tool. 

- The malicious dependency is now removed and no longer called when running `npm install` or `npm run build`. 
- More info here: https://github.com/WordPress/twentynineteen/pull/675

Props allancole, kjellr, netweb, twoabove.
No action taken yet
git: 1c0d6d8
svn: r43955
122 of 389
Author
Riad Benguella <[email protected]> 2018-11-30 20:57:02 +0000
Block Editor: Update @wordpress package dependencies.
Updated packages

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

Other changes:

 - Backport the parser changes.

Fixes #45145.
No action taken yet
git: 81e0366
svn: r43954
123 of 389
Author
Miguel Fonseca <[email protected]> 2018-11-30 20:24:42 +0000
Update `sidebars_widgets` to match Twenty Nineteen's single widget area
* Also update the customizer tests to match it.

Props SergeyBiryukov, pento.
No action taken yet
git: 6c58135
svn: r43953
124 of 389
Author
Mel Choyce <[email protected]> 2018-11-30 16:26:13 +0000
Help/About: Update "Support for the Classic Editor plugin will remain in WordPress until 2021" to "through 2021" to further clarify timeline.
Props kjellr.
See #45178.
No action taken yet
git: 8cbeb96
svn: r43952
125 of 389
Author
Mel Choyce <[email protected]> 2018-11-30 16:22:46 +0000
Help/About: Fix the user's saved WordPress.org username from being changed to wordpressdotorg when they click the About page link to install the Classic Editor plugin.
Props pento.
See #45178.
No action taken yet
git: 214e8c1
svn: r43951
126 of 389
Author
Riad Benguella <[email protected]> 2018-11-30 13:35:19 +0000
Block Editor: Remove the latest "gutenberg" mention in the latest-comments.php file
Props swissspidy.
See #45145.
No action taken yet
git: c52baf9
svn: r43950
127 of 389
Author
Riad Benguella <[email protected]> 2018-11-30 13:23:09 +0000
Block Editor: Rename the gutenberg_ functions in blocks/latest-comments.php.
This was ported manually from https://github.com/WordPress/gutenberg/pull/12326

Props pento, swissspidy.
See #45145.
No action taken yet
git: 73a41ba
svn: r43949
128 of 389
Author
Riad Benguella <[email protected]> 2018-11-30 09:58:24 +0000
Block Editor: Update @wordpress package dependencies.
Update packages:

 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]
 - @wordpress/[email protected]

Other changes:

Fix a translator comment in edit-form-blocks.php.
Rename the gutenberg_ functions in blocks/latest-comments.php.

Props pento.
Fixes #45145.
No action taken yet
git: 2914fce
svn: r43947
129 of 389
Author
Andrew Ozz <[email protected]> 2018-11-29 08:29:18 +0000
Help/About: Do not show the "Keep it Classic" section and the link to it at the top when the Classic Editor plugin is already installed.
See #45178.
No action taken yet
git: d64723a
svn: r43946
130 of 389
Author
Mel Choyce <[email protected]> 2018-11-28 17:30:11 +0000
Help/About: Minor updates.
- Updated the various images.
- Added new "developer happiness" images.
- Fixed the responsive figcaption styles.
- Added a link to wporg plugin favorites as a shortcode to get to the classic plugin.
- Renamed "cover image" to "cover."
- Updated CSS to account for small-screen issues.

Props desrosj, audrasjb, antpb, jjj, elrae, Otto42, afercia, karmatosed, kjellr, alexislloyd, melchoyce.
See #45178.
No action taken yet
git: 92fb224
svn: r43945
131 of 389
Author
Gary Pendergast <[email protected]> 2018-11-27 06:38:34 +0000
Block Editor: Clarify a translator comment in meta box handling.
Props ocean90.
See #45217.
No action taken yet
git: 7f7046e
svn: r43944
132 of 389
Author
Gary Pendergast <[email protected]> 2018-11-23 09:40:33 +0000
Post WordPress 5.0 RC1 version bump.
No action taken yet
git: 2bccfef
svn: r43943
133 of 389
Author
Gary Pendergast <[email protected]> 2018-11-23 09:13:32 +0000
WordPress 5.0 RC1.
No action taken yet
git: 94b4781
svn: r43942
134 of 389
Author
Riad Benguella <[email protected]> 2018-11-23 08:34:44 +0000
Block Editor: Fix the WordPress packages and vendor script registration.
The version is set properly and the scripts are automatically loaded in the footer.
This patch also includes a revert for the reusable blocks enqueue script.

Props pento, swissspidy.
Fixes #45402.
See #45396.
No action taken yet
git: da6b20d
svn: r43941
135 of 389
Author
Gary Pendergast <[email protected]> 2018-11-23 08:14:07 +0000
Block Editor: Add a placeholder for meta boxes that don't work in the block editor.
If a meta box is registered with the `__block_editor_compatible_meta_box` set to `false`, it's indicating that it doesn't work in the block editor. If that's the case, we can add a place holder to inform the user that they'll need to use the classic interface to work with this meta box.

Props pento, jorgefilipecosta, peterwilsoncc, karmatosed, noisysocks, dd32.
See #45217.
No action taken yet
git: 104ff2d
svn: r43940
136 of 389
Author
Gary Pendergast <[email protected]> 2018-11-23 00:41:56 +0000
Query: Remove nextpage block delimiters when setting up global post data.
`WP_Query::setup_postdata()` splits the post up by `<!--nextpage-->`, which causes invalid block data to be contained in the post content.

This change removes the `<!-- wp:nextpage -->` and `<!-- /wp:nextpage -->`, as well.

Props pento, youknowriad, azaozz, noisysocks.
See #45401.
No action taken yet
git: 8d003dc
svn: r43939
137 of 389
Author
Riad Benguella <[email protected]> 2018-11-22 19:39:02 +0000
Block Editor: Refresh nonces used by wp.apiFetch.
Adds heartbeat nonces refreshing support to wp.apiFetch requests.

Props pento, adamsilverstein, dd32, desrosj.
Fixes #45113.
No action taken yet
git: a4f3345
svn: r43938
138 of 389
Author
gziolo <[email protected]> 2018-11-22 18:02:35 +0000
About: Update Freedoms page to include illustrations.
@cathibosco has made some great illustrations of the Four Freedoms on https://wordpress.org/about/. Let's bring that over to the admin Freedoms page.

Props @melchoyce, @cathibosco, @boemedia, @karmatosed, @tobifjellner, @helen, @matveb, @mcsf.
Fixes #45386.
No action taken yet
git: 8e65c87
svn: r43937
139 of 389
Author
tofumatt <[email protected]> 2018-11-22 15:23:46 +0000
Help/About: Add copy for new block editor.
Adds information about the new block editor (Gutenberg) and the Classic Editor
to the about page.

Props @pixelverbieger, @ocean90, @melchoyce, @boemedia, @sami.keijonen, @TimothyBlynJacobs, @xkon, @afercia, @Otto42, @pento.
Fixes #45178.
No action taken yet
git: 6151007
svn: r43936
140 of 389
Author
Riad Benguella <[email protected]> 2018-11-22 07:24:01 +0000
Block Editor: Fix loading the script handling the "Manage Reusable Blocks" page.
This ensures the "import from JSON" and "export JSON" buttons are shown properly.
The script is loaded in the footer because it relies on the DOM being already there.

Props noisysocks, mukesh27.
Fixes #45396.
No action taken yet
git: 6bf7597
svn: r43935
141 of 389
Author
noisysocks <[email protected]> 2018-11-22 06:04:04 +0000
Block Editor: Update @wordpress package dependencies
Updates packages:

- block-library
- components
- edit-post
- editor
- format-library
- list-reusable-blocks
- nux

See #45145
No action taken yet
git: 48500bf
svn: r43934
142 of 389
Author
Gary Pendergast <[email protected]> 2018-11-22 03:58:19 +0000
WPDB: Check that `$wpdb->last_result` is countable before counting with it.
`wpdb::get_col()` iterates over `$wpdb->last_result`, which can be a non-countable value, should the preceeding query have failed.

Props spacedmonkey, desrosj.
See #45299.
No action taken yet
git: b5f10f4
svn: r43933
143 of 389
Author
Gary Pendergast <[email protected]> 2018-11-22 03:20:30 +0000
Build Tools: Don't minimise CSS in the unminimised files.
See #45201.
No action taken yet
git: edbb865
svn: r43932
144 of 389
Author
Gary Pendergast <[email protected]> 2018-11-22 03:11:22 +0000
Build Tools: Tweak the webpack config for unminified files.
[43931] unintentionally caused the unminified files to wrap the code in an `eval()` call. 

See #45201.
No action taken yet
git: 2a0319b
svn: r43931
145 of 389
Author
Gary Pendergast <[email protected]> 2018-11-22 02:04:51 +0000
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.
See #45201.
No action taken yet
git: e55da18
svn: r43930
146 of 389
Author
Peter Wilson <[email protected]> 2018-11-22 00:24:01 +0000
Formatting: Revert pre-save filter adding `rel="noopener"`.
Removes filters adding `rel="noopener"` to links targeting `_blank`.

Previous implementation could introduce blank `rel` attributes and could corrupt JSON data when saving via the customizer.

See #43187.
Reverts [43732] and [43733] from the 5.0 branch.
No action taken yet
git: be920c8
svn: r43929
147 of 389
Author
allancole <[email protected]> 2018-11-21 22:42:16 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Add dynamic theme version to stylesheet enqueue.

Props grapplerulrich, kjellr.
No action taken yet
git: 691a74f
svn: r43928
148 of 389
Author
allancole <[email protected]> 2018-11-21 22:29:55 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Fixes link colors within solid-color pullquote blocks.

Props kjellr, xkon.
No action taken yet
git: 1cf6605
svn: r43927
149 of 389
Author
allancole <[email protected]> 2018-11-21 20:13:16 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Fix social-menu and site-logo alignment.

Props kjellr, xkon.
No action taken yet
git: ec99e72
svn: r43926
150 of 389
Author
allancole <[email protected]> 2018-11-21 19:56:23 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Add PHPCS code quality fixes for functions.php
- Update stylesheets with a fresh Sass re-compile

Props xkon, kjellr
No action taken yet
git: 9e8f5dd
svn: r43925
151 of 389
Author
Riad Benguella <[email protected]> 2018-11-21 19:45:36 +0000
Core Editor: Specify script versions for the WordPress packages and their vendor dependencies.
Using the package.json versions of the npm dependencies as versions when registering 
the WordPress scripts.

Props dimadin, dd32.
Fixes #45187.
No action taken yet
git: 8b3134f
svn: r43924
152 of 389
Author
Riad Benguella <[email protected]> 2018-11-21 19:38:51 +0000
Block Editor: Clarify PHP Docs of the block_version function.
Clarify the return value.

Props desrosj, mukesh27.
Fixes #45342.
No action taken yet
git: 47c4263
svn: r43923
153 of 389
Author
Riad Benguella <[email protected]> 2018-11-21 19:29:11 +0000
Block Editor: Fix PHP warning showing up when loading editor styles while in RTL.
In RTL languages, WordPress adds style-editor-rtl.css editor styles to the global $editor_styles
This patch ignores handling these styles if the file is not preset.

Props desrosj, mostafa.s1990.
Fixes #45288.
No action taken yet
git: 4a58b3d
svn: r43922
154 of 389
Author
Mel Choyce <[email protected]> 2018-11-21 16:59:11 +0000
About Page: Update images and de-italicize a11y note.
Props @matveb, @kjellr, @Alexis Lloyd, @courtney0burton, @melchoyce.
See #45178.
No action taken yet
git: 904cb8b
svn: r43921
155 of 389
Author
Miguel Fonseca <[email protected]> 2018-11-21 16:34:28 +0000
Warn users of Gutenberg plugin of its deactivation upon 5.0 upgrade.
Fixes #45073.
No action taken yet
git: 154e0bd
svn: r43920
156 of 389
Author
Miguel Fonseca <[email protected]> 2018-11-21 16:17:17 +0000
Block Editor: Show privacy help notice on Privacy Policy page.
When editing a page set to be the Privacy Policy page, display a help notice
containing a link to the Privacy Policy guide.

This changeset ports this functionality to the new Block Editor.

Props desrosj.
Fixes #45057.
No action taken yet
git: 60ec049
svn: r43919
157 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-21 15:08:01 +0000
Block Editor: Update @WordPress dependencies to match Gutenberg 4.5.1.
Updates packages: annotations,
api-fetch,
block-library,
blocks,
components,
core-data,
data,
dom, edit-post,
editor,
format-library,
jest-console,
jest-preset-default,
keycodes,
html-entities,
list-reusable-blocks,
notices,
nux,
rich-text,
scripts,
token-list, url,
viewport

Fixes undefined notices in some blocks. Removes incorrect `'gutenberg'` textdomain too.

See #45145
No action taken yet
git: 9ee7a34
svn: r43918
158 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-21 14:43:33 +0000
REST API: Preserve unknown, respect `null` in server-side block rendering.
* Skips validation where there is no attribute definition, but keeps the attribute value. Previously, the attribute would be omitted from the attributes passed to `render_callback`. Notably, this resolves an issue where `render_callback` cannot receive a block's `align` and `customClassName` attribute values, since these are defined as a client-side filter.
* Validates `null` as a proper value in its own right. Previously, a client implementation of a block could track `{"attribute":null}` as an explicitly empty value, and the server would wrongly initiate defaulting behavior. The new behavior will now only populate a default value if the attribute is not defined at all, including when unset in its being invalid per the attribute schema.

Props aduth, noisysocks, youknowriad.
See #45145 for the patch, #45098 for the original ticket.
No action taken yet
git: 8ef1b05
svn: r43917
159 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-21 14:34:09 +0000
REST API: Always include `title.raw`/`content.raw` for Blocks in `context=view`.
Demarcations for reusable blocks are always expected to be accessible by clients.

Props noisysocks, youknowriad.
See #45145 for the patch, #45098 for the original ticket.
No action taken yet
git: 8e8dca6
svn: r43916
160 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-21 14:10:18 +0000
Block Editor: Expose value of `user_can_richedit()`.
In order for the Block Editor to know whether to allow visual editing, it needs to know the value of `user_can_richedit()`.

Props youknowriad.
Fixes #45375.
No action taken yet
git: f02568a
svn: r43915
161 of 389
Author
Andrew Ozz <[email protected]> 2018-11-21 12:27:12 +0000
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.
Fixes #45365.
No action taken yet
git: b9ac168
svn: r43914
162 of 389
Author
Andrew Ozz <[email protected]> 2018-11-21 12:17:02 +0000
TinyMCE: Run the "wp_editor_settings" and "disable_captions" filters for the Classic block. Fixes possible regressions in plugins that use these filters, also plugins that use them to add filters for the buttons, external plugins, etc.
Fixes #45348.
No action taken yet
git: b436ee1
svn: r43913
163 of 389
Author
Mel Choyce <[email protected]> 2018-11-21 02:38:17 +0000
About Page: Initial About Page design and strings for 5.0.
Props @pixelverbieger, @ocean90, @karmatosed, @pento, @boemedia, @lonelyvegan, @sami.keijonen, @TimothyBlynJacobs, @xkon, @afercia, @laurelfulford, @joostdevalk, @ipstenu, @matveb, @joen, @tinkerbelly, @chanthaboune, @kjellr, @alexislloyd, @melchoyce.
See #45178.
No action taken yet
git: 3d2ce47
svn: r43912
164 of 389
Author
Gary Pendergast <[email protected]> 2018-11-21 01:47:49 +0000
Upgrade/Install: Split `Sample Page`, `Hello World`, and `Privacy Policy` content.
[43820] converted the content to blocks, but included block markers in the translateable strings, which made translations difficult to do accurately.

Props desrosj, dd32, ocean90.
See #45151.
No action taken yet
git: 1bf081f
svn: r43911
165 of 389
Author
laurelfulford <[email protected]> 2018-11-21 01:04:56 +0000
Twenty Sixteen: Update theme’s wide image styles to include Image Blocks
Twenty Sixteen includes functionality and styles that make full-size images extend wider than the content when they are added to posts, and appear below the post meta. This update adds the same behavior to image blocks and their captions.

Fixes: #45380.
No action taken yet
git: 0693a11
svn: r43910
166 of 389
Author
Gary Pendergast <[email protected]> 2018-11-21 01:02:46 +0000
i18n: Remove the `wp_get_jed_locale_data()` function.
This function was used as a translation workaround in the Gutenberg plugin, it has been replaced in core with the `wp_set_script_translations()` functionality, instead.

See #45111.
No action taken yet
git: 1254637
svn: r43909
167 of 389
Author
allancole <[email protected]> 2018-11-19 21:26:02 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Fix JS errors in customizer caused by menu scripts
- Fix footer menu spacing
- Fix pullquote block borders to follow Gutenberg’s described style
- Fix editor-only styles so they don't appear on the frontend when not needed
- Fix search field widget width on mobile
- Fix :visited .button link colors
- Fix Block toolbar position in the editor
- Fix off-canvas mobile menu to prevent text from overflowing
- Improve column block formatting for the editor and frontend
- Improve CSS optimization for selectors that add `dashes` to multi-level lists
- Improve editor font sizes to use pixels over ems
- Improve styles for galleries in the Classic Editor block
- Improve priority+ more-menu threshold to allow more space for menu-items
- Improve logo size on mobile devices
- Improve customizer color options to present a single, unified color option
- Improve print stylesheet for better spacing and colors
- Add more color options to Gutenberg editor 

Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard
No action taken yet
git: 9ea3656
svn: r43908
168 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-19 14:09:07 +0000
REST API: Include fields with null schema in `get_fields_for_response()`.
In [43736], we prevented rendering fields when not present in `?_fields=`. However, because `get_fields_for_response()` is dependent on `get_item_schema()`, any custom fields registered with a null schema would be incorrectly excluded from the response. Because the REST API permits a null schema for `register_rest_field()`, those fields should be included in the available fields for a response.

Fixes #45220.
No action taken yet
git: 76584c0
svn: r43907
169 of 389
Author
Gary Pendergast <[email protected]> 2018-11-16 01:06:55 +0000
Post WordPress 5.0 Beta 5 version bump.
No action taken yet
git: 88b523d
svn: r43906
170 of 389
Author
Gary Pendergast <[email protected]> 2018-11-16 00:57:19 +0000
WordPress 5.0 Beta 5.
No action taken yet
git: d2ca4ad
svn: r43905
171 of 389
Author
Gary Pendergast <[email protected]> 2018-11-16 00:22:27 +0000
Build Tools: Minify the package CSS when building.
CSS coming from the `@wordpress` packages wasn't being minified in the build. This had the noteable side effect of causing RTL CSS to not be loaded when `SCRIPT_DEBUG` was set to `false`.

Props websupporter.
See #45330.
No action taken yet
git: ea48d85
svn: r43904
172 of 389
Author
allancole <[email protected]> 2018-11-16 00:13:32 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update changes the following: 

- Improve menu UI to support keyboard navigation in both directions
- Improve more-menu-link visibility when no menu items are hidden
- Improve text-selection custom colors for better contrast and legibility
- Improve support for sticky toolbars in the editor
- Improve table element fonts
- Add .button class support 
- Remove translation escaping
- Fix menu JS to prevent unused touched event listeners
- Fix duplicate more-menu-link issue on selective refresh in the customizer
- Fix editor font-weights for headings
- Fix search form input style
- Fix nested blockquote styles
- Fix download block button style when download text stretches more than one line
- Fix audio block centering issue
- Fix align-full blocks in the editor so they don’t create horizontal scrollbars
- Fix editor to prevent Gutenberg's meta boxes area from overlapping the content

Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, ntwb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins12, peterwilsoncc, DannyCooper, WPprodigy, siriokun, briannaorg, 00travelgirl00, shahjehanali1, ianbelanger79, nadim1992, Ismail-elkorchi, nativeinside, iamchetanp, grappler, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, jasmussen, laurelfulford, mdawaffe, kraftbj, dereksmart, naokomc, mayukojpn, enodekciw, chetansatasiya, ketuchetan, atanas-angelov-dev, carolinan, sharazghouri, artisan-asad, mukeshpanchal27, mukesh27, burhandodhy, @crunnells, aryaprakasa, tlxo, themeroots, whizbangik, yingles, tlxo, youthkee, brentswisher, smy315, ahmadawais, desi-developer, 2ndkauboy, mor10.
No action taken yet
git: f29f39b
svn: r43903
173 of 389
Author
Andrew Duthie <[email protected]> 2018-11-16 00:09:08 +0000
Block Editor: Update @wordpress dependencies to match Gutenberg 4.4.0
Updates packages: annotations, api-fetch, block-library, blocks, components, compose, core-data, data, date, edit-post, editor, element, format-library, i18n, list-reusable-blocks, notices, nux, plugins, rich-text, viewport

Updates changed dependencies in script-loader.php

Upgrades React from 16.5.2 to 16.6.3

See #45145
No action taken yet
git: 3d4b1f1
svn: r43902
174 of 389
Author
Gary Pendergast <[email protected]> 2018-11-16 00:01:47 +0000
Tests: Update a test that relied on the Hello Dolly plugin version.
[43900] changed the plugin version, causing a unit test failure.

See #45345.
No action taken yet
git: 0fc49bf
svn: r43901
175 of 389
Author
Gary Pendergast <[email protected]> 2018-11-15 23:52:47 +0000
Block Editor: Load TinyMCE inline scripts later.
Previously, the TinyMCE inline scripts were added on the `init` action in the block editor. In the classic editor, however, these scripts are loaded when the TinyMCE window is printed, and some plugins rely on them being loaded later, so they can attach to the appropriate filters.

See #45338.
No action taken yet
git: 5ca028c
svn: r43900
176 of 389
Author
Gary Pendergast <[email protected]> 2018-11-15 23:37:31 +0000
Hello Dolly: Hide the lyrics in the block editor.
I'm sorry, Hello Dolly. You're my favourite plugin, but the way you output your lyrics doesn't play nicely with the block editor, particuarly on mobile devices.

This isn't Farewell Dolly, you're still on every other admin page, and I know you'll come back better and stronger.

Props joen.
See #45345.
No action taken yet
git: 61ee6d9
svn: r43899
177 of 389
Author
Gary Pendergast <[email protected]> 2018-11-15 23:19:40 +0000
Nav Menus: Fix a PHP 7.3 error when switching themes.
When switching themes, `wp_map_nav_menu_locations()` is used to ensure nav menus are placed in the relevant menu location. Occasionally, menus are registered to locations with numeric slugs, rather than strings. `wp_map_nav_menu_locations()` assumed it would be the latter, and ran `stripos()` on those numeric slugs. This behaviour is deprecated in PHP 7.3.

As this is the last known PHP 7.3 incompatibility, this commit also removes PHP 7.3 from Travis' `allowed_failures` list.

Props desrosj, jorbin.
See #45018.
Backported in dc1ce21
git: 07736dc
svn: r43898
178 of 389
Author
herregroen <[email protected]> 2018-11-15 14:36:39 +0000
I18N: Fix warnings in JavaScript translations.
Fixes an undefined index PHP warning in the load_script_textdomain function and a non-interrupting JS error when registering a domain which has no translations.

Props omarreiss, ocean90, georgestephanis.
Fixes #45256.
No action taken yet
git: 4b791ec
svn: r43897
179 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-15 12:56:54 +0000
REST API: Avoid using 'parent' as path argument name for autosaves.
When 'parent' is set as the path argument name, it gets passed down through to the `create_item()` method and can erroneously reset the 'parent' value on the post itself. Instead, we rename the argument to 'id' and replicate the revision controller's `get_items_permissions_check()` to instead reference 'id'.

Also ensures revision query params (of which there are many) aren't exposed as the query params for autosaves (of which there are two).

Props TimothyBlynJacobs.
See #43316.
No action taken yet
git: e964c99
svn: r43896
180 of 389
Author
Gary Pendergast <[email protected]> 2018-11-13 01:14:27 +0000
Post WordPress 5.0 Beta 4 version bump.
No action taken yet
git: ecceac0
svn: r43895
181 of 389
Author
Gary Pendergast <[email protected]> 2018-11-13 01:01:02 +0000
WordPress 5.0 Beta 4.
No action taken yet
git: ff57e40
svn: r43894
182 of 389
Author
Gary Pendergast <[email protected]> 2018-11-13 00:24:07 +0000
Script Loader: Fix an error introduced in [43893].
`wp_common_block_scripts_and_styles()` should only exit early if we're in the admin and the current screen isn't the block editor.

See #45302.
No action taken yet
git: 9d98545
svn: r43893
183 of 389
Author
Gary Pendergast <[email protected]> 2018-11-12 23:37:31 +0000
Scripts: Fix a PHP error in admin-ajax calls.
When making an ajax request, `wp_enqueue_registered_block_scripts_and_styles()` checked if `is_admin()` was true before accessing `$current_screen`, rather than checking if `$current_screen` was defined. This is usually fine, execept for in ajax requests.

Props ocean90, foreverpinetree, pento.
See #45203.
No action taken yet
git: f2517ba
svn: r43892
184 of 389
Author
allancole <[email protected]> 2018-11-12 23:19:13 +0000
Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.
This update applies the following changes:

- Improve menu UI to support keyboard, click and touch interactions
- Improve variable scoping and js performance in menu interaction javascript
- Improve custom-colors for selected text, buttons and menu hover styles
- Improve margins structure for more consistency between editor and frontend
- Improve discussion avatars for simpler wording and better performance
- Improve fonts in list widgets and list blocks 
- Improve comment responsive spacing and avatar display
- Improve various block styles to make them consistent between the editor and frontend
- Add tabbed browsing support for ie11
- Add backwards compatibility support for older versions of WordPress
- Add fallback styles for older versions of WP where Gutenberg is activated and then deactivated (backwards compatibility)
- Add `sizes` attribute for featured images to improve responsive performance
- Add focus-within polyfill
- Add a footer menu for secondary page links
- Fix editor styles to prevent conflicts with plugins that add meta boxes to the editor
- Fix columns block issues on small screens
- Fix empty-space font text cursor issue in Gutenberg editor
- Fix RTL floating styles so that left/right floats are honored
- Fix cover image block margins/padding
- Fix invalid rgba style
- Fix php warning when returning attributes
- Fix gallery widget margins to improve gallery grids
- Fix .entry-content selectors to prevent shortcodes, plugins and other unknown content from breaking the layout
- Remove translation escaping to follow code standards in previous default themes
- Remove custom color output in the fronten header when default color is selected
- Remove fly-out sub-sub-sub-menu behavior on desktop to prevent sub-menus from falling off the screen
- General code clean up and coding standards improvements

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, mukeshpanchal27, burhandodhy, crunnells, Ismail-elkorchi, aryaprakasa, @tlxo, @themeroots, @whizbangik, @yingles, @youthkee, @brentswisher, @smy315, @ahmadawais, @desi-developer.
No action taken yet
git: 0c58fd2
svn: r43891
185 of 389
Author
Riad Benguella <[email protected]> 2018-11-12 17:01:09 +0000
Block Editor: Update @wordpress dependencies to the latest version matching Gutenberg 4.3.0
- Update the editor,edit-post,components,block-library,nux and list-reusable blocks packages
 - Also add a missing wp-date dependency to the editor script

Props atimmer
See #45145.
No action taken yet
git: ab37690
svn: r43890
186 of 389
Author
Andrew Ozz <[email protected]> 2018-11-12 13:56:41 +0000
Fix linting after [43889].
See #45264.
No action taken yet
git: e5d7e4b
svn: r43889
187 of 389
Author
Andrew Ozz <[email protected]> 2018-11-12 10:34:50 +0000
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.
Fixes #45264.
No action taken yet
git: c2aa32f
svn: r43888
188 of 389
Author
Andrew Ozz <[email protected]> 2018-11-12 10:02:25 +0000
Block Editor: A little cleanup to `render_block()`. Always normalize `$block['attrs']` to array in `'render_block'` filter.
See #45145.
No action taken yet
git: 781f30b
svn: r43887
189 of 389
Author
Gary Pendergast <[email protected]> 2018-11-12 04:22:46 +0000
Docs: Future-proof comments referencing 5.0 TODOs.
Some Customizer-related files contain inline comments referencing work to do for #42364 for 5.0. Those comments are now outdated as #42364 was moved to the 5.1 milestone.

Props dlh.
See #45115.
No action taken yet
git: e603cf6
svn: r43886
190 of 389
Author
Gary Pendergast <[email protected]> 2018-11-12 04:18:52 +0000
Build Tools: Add non-minified `@wordpress` scripts to the build output.
Props atimmer.
See #45156.
No action taken yet
git: 114a1ee
svn: r43885
191 of 389
Author
Gary Pendergast <[email protected]> 2018-11-12 03:37:41 +0000
Block Editor: Hide the Custom Fields meta box option if that meta box has been removed.
Some plugins remove the Custom Fields meta box, particularly when they provide functionality that replaces it. The block editor would correctly not display this meta box in these circumstances, but it still showed the option to display or hide it.

Props pento, noisysocks.
See #45282.
No action taken yet
git: 26414ee
svn: r43884
192 of 389
Author
Gary Pendergast <[email protected]> 2018-11-12 02:26:18 +0000
Block Editor: Update `@wordpress` dependencies to the latest version.
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 favour 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 favour of a `render_block` filter in `render_block()`.

See #45145, #45190, #45264, #45282.
No action taken yet
git: ca69dd5
svn: r43883
193 of 389
Author
Gary Pendergast <[email protected]> 2018-11-09 09:43:29 +0000
Tests: Fix tests broken in PHP 5.x after [43879].
See #45290.
No action taken yet
git: d02d1ea
svn: r43882
194 of 389
Author
Gary Pendergast <[email protected]> 2018-11-09 09:05:47 +0000
Meta Boxes: Add the `block_editor_meta_box_hidden_fields` action.
Lacking an appropriate action in the classic editor, plugins that add meta boxes have historically hooked into various actions in order to add hidden input fields.

This change also adds backwards compatibility for two of the most common: `edit_form_after_title`, and `edit_form_advanced`.

Props pento, danielbachhuber.
See #45283.
No action taken yet
git: e2c2c1b
svn: r43881
195 of 389
Author
Gary Pendergast <[email protected]> 2018-11-09 08:55:50 +0000
Tests: Fix a failing test after [43879].
See #45290.
No action taken yet
git: cbc780e
svn: r43880
196 of 389
Author
Gary Pendergast <[email protected]> 2018-11-09 08:32:19 +0000
Block Editor: Prevent the meta box form from being accidentally submitted.
Meta boxes are loaded inside a wrapper form, that the block editor submits as part of the saving process. It shouldn't be submitted manually.

See #45284.
No action taken yet
git: 55ccd0f
svn: r43879
197 of 389
Author
Gary Pendergast <[email protected]> 2018-11-09 08:28:40 +0000
Formatting: Ensure `wpautop()` isn't run on content generated from blocks.
As `do_blocks()` is run before `wpautop()` in `the_content` filter, we can remove in a Just In Time fashion, before that filter is run.

After `wpautop()`s original priority has passed, we can re-add it in a Just Too Late fashion, to ensure it's available if `the_content` filter is run multiple times on a page load.

Props pento, nerrad.
Fixes #45290.
No action taken yet
git: 7138832
svn: r43878
198 of 389
Author
herregroen <[email protected]> 2018-11-08 11:33:46 +0000
I18N: Set translations for all WordPress packages scripts.
Calls `wp_set_script_translations` for all packages scripts that have translations. Also correctly sets the domain on the translations.

Props omarreiss, pento, ocean90.
Fixes #45161.
No action taken yet
git: 4bfa088
svn: r43877
199 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-11-08 09:23:10 +0000
Script Loader: Ensure default packages are registered when loaded via load-scripts.php.
Props CantoThemes, ocean90.
See #45271.
No action taken yet
git: fb7798c
svn: r43876
200 of 389
Author
laurelfulford <[email protected]> 2018-11-06 06:16:39 +0000
Twenty Seventeen: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Seventeen's Gutenberg support, added in #45045. This commit includes the following fixes:

* Update editor placeholder text to use the correct font family.
* Center text and bullets in list-based widget blocks, when block itself is centered.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Add spacing underneath the Media & Text block, but make sure the final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.
* Prevent margin from theme's editor-style.css from interfering with editor alignment. 
 
Props pento, davidakennedy.
Fixes #45246.
No action taken yet
git: d3a6be5
svn: r43875
201 of 389
Author
laurelfulford <[email protected]> 2018-11-06 06:06:00 +0000
Twenty Sixteen: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Sixteen's Gutenberg support, added in #45044. This commit includes the following fixes:

* Center text and bullets in list-based widget blocks, when block itself is centered.
* Correct styles for the editor placeholder text, so it's not inheriting a darker gray from the theme's CSS. 
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Reset Cover blocks as `display: flex` when they are centered, to maintain their original appearance.
* Add spacing underneath the Media & Text block, but make sure the final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.
* Prevent margin from theme's editor-style.css from interfering with editor alignment. 
 
Props pento, davidakennedy.
Fixes #45245.
No action taken yet
git: b36494e
svn: r43874
202 of 389
Author
laurelfulford <[email protected]> 2018-11-06 05:56:54 +0000
Twenty Fifteen: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Fifteen's Gutenberg support, added in #45043. This commit includes the following fixes:

* Center text and bullets in list-based widget blocks, when block itself is centered.
* Add a margin to blocks that are aligned to the left or to the right, to create space.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Add spacing underneath the Media & Text block, but make sure the final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.
* Prevent margin from theme's editor-style.css from interfering with editor alignment. 

Props pento, davidakennedy.
Fixes #45244.
No action taken yet
git: 8c14472
svn: r43873
203 of 389
Author
laurelfulford <[email protected]> 2018-11-06 01:25:46 +0000
Twenty Fourteen: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Fourteen's Gutenberg support, added in #45042. This commit includes the following fixes:

* Update editor placeholder text to use the correct font family.
* Center text and bullets in list-based widget blocks, when block itself is centered.
* Remove unnecessary spacing from the Columns block.
* Add spacing underneath the Media & Text block, but make sure the final paragraph in the block doesn't add too much space.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Simplify selectors used to set editor width to just `.wp-block`.

Props pento, davidakennedy.
Fixes #45243.
No action taken yet
git: e14fa69
svn: r43872
204 of 389
Author
laurelfulford <[email protected]> 2018-11-06 01:21:06 +0000
Twenty Thirteen: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Thirteen's Gutenberg support, added in #45041. This commit includes the following fixes:

* Center text and bullets in list-based widget blocks, when block itself is centered.
* Prevent full and wide aligned blocks from getting wider than Twenty Thirteen's design.
* Prevent wide aligned blocks from getting too wide, as they can seem out of proportion with the full aligned blocks.
* Make sure full and wide blocks display at the correct width in the editor.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Make sure wide and full aligned Table blocks span the available width on the front end.
* Add spacing underneath the Media & Text block, but make sure the final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.


Props pento, davidakennedy.
Fixes #45242.
No action taken yet
git: 2d8d13c
svn: r43871
205 of 389
Author
laurelfulford <[email protected]> 2018-11-06 01:09:57 +0000
Twenty Twelve: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Twelve's Gutenberg support, added in #45040. This commit includes the following fixes:

* Update editor placeholder text to use the correct font family.
* Center text and bullets in list-based widget blocks, when block itself is centered.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Add spacing underneath the Media & Text block, but make sure final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.


Props pento, davidakennedy.
Fixes #45240.
No action taken yet
git: 104e25b
svn: r43870
206 of 389
Author
laurelfulford <[email protected]> 2018-11-06 01:00:58 +0000
Twenty Eleven: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Eleven's Gutenberg support, added in #45039. This commit includes the following fixes:

* Center text and bullets in list-based widget blocks when block itself is centered.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Add spacing underneath the Media & Text block, but make sure final paragraph in the block doesn't add too much space.
* Simplify selectors used to set editor width to just `.wp-block`.
* Prevent margin from theme's editor-style.css from interfering with editor alignment. 

Props pento, davidakennedy.
Fixes #45239.
No action taken yet
git: 1401fd3
svn: r43869
207 of 389
Author
laurelfulford <[email protected]> 2018-11-06 00:49:33 +0000
Twenty Ten: Fix issues with theme's Gutenberg support.
A handful of issues were missed in Twenty Ten's Gutenberg support, added in #45038. This commit includes the following fixes:

* Update editor placeholder text to use the correct font family and size.
* Remove unnecessary spacing from the Columns block.
* Include non "image" variations of the Cover block classes `.wp-block-cover` and `.wp-block-cover-text` in the styles.
* Add spacing underneath the Media & Text block.
* Simplify selectors used to set editor width to just `.wp-block`.

Fixes #45238.
No action taken yet
git: c99ccf8
svn: r43868
208 of 389
Author
laurelfulford <[email protected]> 2018-11-06 00:24:12 +0000
Bundled Themes: Add theme support for responsive embeds
Add `add_theme_support( 'responsive-embeds' );` to all of the responsive default themes as part of their Gutenberg support. This makes sure any embeds coming from the new block-based editor maintain their aspect ratios at different screen sizes.

Fixes #45274.
No action taken yet
git: abfbb34
svn: r43867
209 of 389
Author
Andrew Ozz <[email protected]> 2018-11-05 08:38:47 +0000
TinyMCE:
- Fix parsing of the init array in script-loader.
- Do not JSON encode the options object when outputting it from PHP.
- Remove JSON decoding of TinyMCE's `style_formats` option.

Fixes #45221.
No action taken yet
git: 1f4c84c
svn: r43866
210 of 389
Author
Gary Pendergast <[email protected]> 2018-11-05 02:46:14 +0000
Tests: Skip symlinked theme file tests if the links could not be created, or if `symlink()` is not available
Merges [42812,42819] to the 5.0 branch.

Props SergeyBiryukov.
Fixes #43508.
No action taken yet
git: d180792
svn: r43865
211 of 389
Author
Gary Pendergast <[email protected]> 2018-11-05 00:18:44 +0000
Post WordPress 5.0 Beta 3 version bump.
No action taken yet
git: 141768a
svn: r43864
212 of 389
Author
Gary Pendergast <[email protected]> 2018-11-05 00:06:03 +0000
WordPress 5.0 Beta 3.
No action taken yet
git: fc3644f
svn: r43863
213 of 389
Author
Gary Pendergast <[email protected]> 2018-11-04 23:22:25 +0000
Meta Boxes: Add curly brackets missed in [43861].
This was causing the custom meta box to be incorrectly added to post types that don't support it.

Props ocean90, epointal.
Fixes #45257,
No action taken yet
git: a4b6ac6
svn: r43862
214 of 389
Author
Daniel Bachhuber <[email protected]> 2018-11-03 14:13:16 +0000
REST API: Prevent duplicate firing of `rest(_after)?_insert_attachment` actions.
Props danielbachhuber, peterwilsoncc.
Fixes #45269.
See #42864.
No action taken yet
git: 5504866
svn: r43861
215 of 389
Author
Gary Pendergast <[email protected]> 2018-11-03 07:56:28 +0000
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.
No action taken yet
git: c2527df
svn: r43860
216 of 389
Author
allancole <[email protected]> 2018-11-02 23:52:16 +0000
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, mukeshpanchal27, burhandodhy, crunnells, Ismail-elkorchi, aryaprakasa.
No action taken yet
git: c4bffce
svn: r43859
217 of 389
Author
herregroen <[email protected]> 2018-11-01 13:50:59 +0000
I18N: Improve JavaScript translation support.
Improves upon [43825] by adding unit tests to cover additional use-cases and changes loading translations to only occur when outputting the script to allow setting translations on dependencies.

Props atimmer, omarreiss, nerrad, swissspidy, ocean90.
Fixes #45103.
No action taken yet
git: fe56c5d
svn: r43858
218 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 05:19:48 +0000
Editor: Cast the result of the `default_content`, `default_title`, and `default_excerpt` filters.
If a plugin returns a non-string value (or returns `null`) on these filters, it can cause errors in the block editor. Casting them as a string prevents these errors.

Props dd32.
See #45236.
No action taken yet
git: 12f0039
svn: r43857
219 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 05:06:44 +0000
Block Editor: Remove CodeMirror settings.
CodeMirror is no longer used in the block editor, so we don't need to load the settings.

Props noisysocks.
Fixes #45248.
No action taken yet
git: 364f935
svn: r43856
220 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 04:32:37 +0000
Block Editor: Don't show back compat or incompatible meta boxes in Options.
Meta boxes that exist for back compat, or that are incompatible with the block editor aren't displayed, so they don't need an option to display or hide them in the Options dialog.

Props noisysocks.
Fixes #45249.
No action taken yet
git: 4d2db97
svn: r43855
221 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 02:34:26 +0000
Posts: Remove the slug from Quick Edit for posts that are not `is_post_type_viewable()`.
This is a followup to [43728], which added the same check, but using the `publicly_queryable` option. This behaviour is incorrect for `_builtin` post types, which go by the logic in `is_post_type_viewable()`, instead.

See #43278.
No action taken yet
git: d9bc4ca
svn: r43854
222 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 02:24:18 +0000
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.
No action taken yet
git: 981c18c
svn: r43853
223 of 389
Author
Gary Pendergast <[email protected]> 2018-11-01 02:01:04 +0000
Build Tools: Switch to Node 10.13.0.
Now that Node 10 is the LTS branch, with 10.13.0 as the first LTS release, let's use that for building WordPress.

See #45241.
No action taken yet
git: 7818e29
svn: r43852
224 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-31 14:02:45 +0000
REST API: Fix array syntax after [43851].
I thought I was writing JavaScript. Alas.

See #45196.
No action taken yet
git: fcd9381
svn: r43851
225 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-31 13:25:28 +0000
REST API: Regenerate fixure schema after introduction of new endpoints.
This fixture schema ensures `wp-api-generated.js` doesn't change when running tests in local dev environments.

Fixes #45196.
No action taken yet
git: 74a3e27
svn: r43850
226 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-31 12:44:21 +0000
REST API: Restore access to audio/video metadata functions.
Ensures `wp_read_video_metadata()`/`wp_read_audio_metadata()` functions are available when uploading video and audio. Fixes error introduced in [43589].

Props ocean90.
See #43757.
No action taken yet
git: b058495
svn: r43849
227 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-31 11:34:01 +0000
Blocks: Include necessary labels for the 'wp_block' post type.
See #45098
No action taken yet
git: 6ca255f
svn: r43848
228 of 389
Author
Gary Pendergast <[email protected]> 2018-10-31 06:00:03 +0000
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.
No action taken yet
git: f05a39a
svn: r43847
229 of 389
Author
Gary Pendergast <[email protected]> 2018-10-31 05:49:01 +0000
Build Tools: Update the `@wordpress` packages.
Trunk now matches Gutenberg 4.2 RC1.

See #45145.
No action taken yet
git: c5e1cd0
svn: r43846
230 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-31 02:32:49 +0000
l10n: Avoid calling `is_user_logged_in()` in `determine_locale()`.
`is_user_logged_in()` is a pluggable function, and loaded after plugins are loaded. If a plugin calls `__()` too early, `is_user_logged_in()` is missing and WordPress will fatal. `get_user_locale()` already handles this scenario for us, so it's safe to rely on exclusively.

See #44758.
Fixes #45235.
No action taken yet
git: 3e303f7
svn: r43845
231 of 389
Author
Gary Pendergast <[email protected]> 2018-10-30 04:59:49 +0000
Posts WordPress 5.0 Beta 2 version bump.
No action taken yet
git: ebba44c
svn: r43844
232 of 389
Author
Gary Pendergast <[email protected]> 2018-10-30 04:46:12 +0000
WordPress 5.0 Beta 2.
No action taken yet
git: 165b192
svn: r43843
233 of 389
Author
Gary Pendergast <[email protected]> 2018-10-30 02:43:08 +0000
Build Tools: Update `@wordpress` packages.
See #45145.
No action taken yet
git: d101a26
svn: r43842
234 of 389
Author
allancole <[email protected]> 2018-10-30 02:13:07 +0000
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.
No action taken yet
git: 1a826d1
svn: r43841
235 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 08:00:56 +0000
Tests: Fix failing unit tests caused by [43840].
See #45145.
No action taken yet
git: f578821
svn: r43840
236 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 07:40:44 +0000
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.
No action taken yet
git: b2bd399
svn: r43839
237 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 04:02:40 +0000
Meta boxes: Don't show the block editor incompatiblity message when it doesn't apply.
We should only be showing this message in the classic editor interface, for meta boxes that are marked as being incompatible with the block editor.

Fixes #45207.
No action taken yet
git: cdb3557
svn: r43838
238 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 03:15:11 +0000
Meta boxes: Don't assume that callback args are an array.
While the documentation for `add_meta_box()` specifices that `$callback_args` should be an array, this has never been enforced, and we have workarounds in place for when it's passed as something other than an array.

Rather than break sites that are passing unexpected data, we can quietly just allow for it, instead.

Props johnjamesjacoby, birgire.
Fixes #45206.
No action taken yet
git: 9685776
svn: r43837
239 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 02:42:23 +0000
Block Editor: Fix meta boxes not showing.
The block editor needs to duplicate the classic meta box behaviour, so it can extract the registered meta boxes, and import them into the block editor.

To match the classic editor behaviour as closely as possible, this moves the relevant code from the classic editor, into a new function, so it can be called by both.

Props pento, peterwilsoncc.
Fixes #45172.
No action taken yet
git: a46ea4a
svn: r43836
240 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 02:11:35 +0000
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.
No action taken yet
git: 25928ac
svn: r43835
241 of 389
Author
Gary Pendergast <[email protected]> 2018-10-29 01:55:57 +0000
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.
No action taken yet
git: 168120e
svn: r43834
242 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-29 00:47:01 +0000
REST API: Improve performance by avoiding `call_user_func()`.
The `get_compact_response_links()` method was introduced in WP 4.5, and this conditional is no longer necessary.

Props schlessera, timothyblynjacobs.
Fixes #45189.
No action taken yet
git: b5e73f7
svn: r43833
243 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-29 00:23:11 +0000
Block Editor: Preload `wp/v2/media` with OPTIONS for caps check.
Also introduces a `block_editor_preload_paths` filter for plugins and themes to preload additional data.

Props imath, mattheu.
Fixes #45194.
No action taken yet
git: 894e847
svn: r43832
244 of 389
Author
Aaron Jorbin <[email protected]> 2018-10-26 20:16:22 +0000
php7.3 compatibility: Fix compact throwing notices for multisite
In PHP 7.3, the compact() function has been changed to issue an E_NOTICE level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. The full RFC can be viewed here: https://wiki.php.net/rfc/compact

By initializing these variables, they can be compacted.

Previously [43819].
See #44416.
Props desrosj.
Backported in 79e326b
git: 8dbb161
svn: r43831
245 of 389
Author
Gary Pendergast <[email protected]> 2018-10-26 08:14:49 +0000
Script Loader: Add translator comments and remove textdomains.
The inline script for `wp-date` incorrectly included a textdomain, and lacked translator comments.

Props mukesh27.
Fixes #45191, #45162.
No action taken yet
git: 0ba73f2
svn: r43830
246 of 389
Author
Gary Pendergast <[email protected]> 2018-10-26 08:10:18 +0000
Meta Boxes: Fix error when a meta box is rendered with a static method callback.
When `WP_DEBUG` is set, ensure that a static method callback is passed to `ReflectionMethod`, instead of `ReflectionFunction`.

Props DrewAPicture.
Fixes #45192.
No action taken yet
git: 9cd32b9
svn: r43829
247 of 389
Author
Gary Pendergast <[email protected]> 2018-10-26 07:13:25 +0000
Accessibility: Media: Improve the usage of a few label elements in the media templates.
Label elements should only be used for labelable elements.
- `Uploaded By` and `Uploaded To` aren't form controls and shouldn't be associated with labels
- changes the labels for media source, alternate sources, poster image, and tracks to solve a layout issue and explicitly associate the labels to their form fields (previously, the labels were wrapping also the Remove buttons)

Merges [42444] to the 5.0 branch.

Props Presskopp, afercia.
Fixes #38759, #40468.
No action taken yet
git: 845f569
svn: r43828
248 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-26 03:54:02 +0000
Tests: Use `DIR_TESTDATA` in `test_wp_set_script_translation()`.
`__DIR__` is not available in PHP 5.2.x.

See #45103.
No action taken yet
git: ebcfbfe
svn: r43827
249 of 389
Author
Drew Jaynes <[email protected]> 2018-10-26 01:23:29 +0000
Docs: Link to the "Conditional Tags" article in the Theme Developer Handbook from the descriptions for a variety of core conditional tag functions.
These notations largely serve to direct consumers (of both the source and the parsed code reference) to extended information on individual and related conditional tags throughout WordPress. The changeset also standardizes corresponding DocBlock summaries to use third-person singular verbs.

Notations have been added for the following functions:

* comments_open()
* email exists()
* has_excerpt()
* has_post_thumbnail()
* has_tag()
* in_category()
* in_the_loop()
* is_404()
* is_active_sidebar()
* is_active_widget()
* is_admin()
* is_admin_bar_showing()
* is_archive()
* is_attachment()
* is_author()
* is_blog_installed()
* is_category()
* is_comments_popup()
* is_date()
* is_day()
* is_dynamic_sidebar()
* is_feed()
* is_front_page()
* is_home()
* is_local_attachment()
* is_main_query
* is_month()
* is_multi_author
* is_new_day()
* is_page()
* is_page_template()
* is_paged()
* is_plugin_active()
* is_plugin_active_for_network()
* is_plugin_inactive()
* is_plugin_page()
* is_post_type_archive()
* is_preview()
* is_rtl()
* is_search()
* is_single()
* is_singular()
* is_sticky()
* is_tag()
* is_tax()
* is_taxonomy_hierarchical()
* is_time()
* is_trackback()
* is_user_logged_in()
* is_year()
* pings_open()
* post_type_exists()
* taxonomy_exists()
* term_exists()
* username exists()
* wp_attachment_is_image()
* wp_script_is() 

Merges [42710] to the 5.0 branch.

Props janalwin.
Fixes #43254.
No action taken yet
git: 2d74b71
svn: r43826
250 of 389
Author
Anton Timmermans <[email protected]> 2018-10-25 15:22:12 +0000
Build tools: Fix build after [43824].
Props omarreiss.
See #45145.
No action taken yet
git: 4f05bb8
svn: r43825
251 of 389
Author
herregroen <[email protected]> 2018-10-25 13:59:51 +0000
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.
No action taken yet
git: 6da9e42
svn: r43824
252 of 389
Author
Anton Timmermans <[email protected]> 2018-10-25 13:42:03 +0000
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.
No action taken yet
git: 4452b29
svn: r43823
253 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 21:53:25 +0000
Post WordPress 5.0 Beta 1 version bump.
No action taken yet
git: cef611a
svn: r43822
254 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 21:37:45 +0000
WordPress 5.0 Beta 1.
No action taken yet
git: 5cf0de4
svn: r43821
255 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-10-24 21:00:26 +0000
Bundled Themes: Remove languages folder with POT file from Twenty Nineteen.
POT files are no longer required.
No action taken yet
git: 546e59f
svn: r43820
256 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-24 18:50:35 +0000
Upgrade/Install: Convert `Sample Page`, `Hello World`, and `Privacy Policy` to block content.
Props desrosj, garrett-eclipse, danielbachhuber.
Fixes #45151.
No action taken yet
git: 5a3ad21
svn: r43819
257 of 389
Author
Aaron Jorbin <[email protected]> 2018-10-24 16:32:29 +0000
php7.3 compatibility: Fix compact throwing notices
In PHP 7.3, the compact() function has been changed to issue an E_NOTICE level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. The full RFC can be viewed here: https://wiki.php.net/rfc/compact

This fixes all unit tested code that uses compact.

Props desrosj.
Fixes #44416.
Backported in dc1ce21
git: efce353
svn: r43818
258 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 11:47:56 +0000
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.
No action taken yet
git: c524dc9
svn: r43817
259 of 389
Author
Anton Timmermans <[email protected]> 2018-10-24 09:56:30 +0000
Build tools: Build webpack dev in `grunt build`.
For the WordPress zip we need both the minified and non-minified files. This is because of `SCRIPT_DEBUG`. So in `grunt build` we need to do both `grunt webpack:prod` and `grunt webpack:dev`.

Props bordoni.
Fixes #45156.
No action taken yet
git: 9673e83
svn: r43816
260 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 08:59:21 +0000
Block Editor: Remove some errant debugging included in [43815].
Props bordoni.
See #45037.
No action taken yet
git: 3609a27
svn: r43815
261 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 06:45:26 +0000
Editor: Minor bug fixes.
Change the default layout slightly, and tweak the HTML stored in `post_content`.

Props matveb, karmatosed, joen, youknowriad, aduth, iseulde, pento, EphoxJames, mkaz, jnylen0, notnownikki, lonelyvegan, chopinbach, njpanderson, mimo84, intronic, westonruter, mcsf, dmsnell, afercia, paulwilde, mitogh, codebykat, mrahmadawais, kopepasah, circlecube, adamsilverstein, timmydcrawford, ephox-mogran, nbachiyski, JDGrimes, laurelfulford, Soean, mapk, sirjonathan, j-falk, ryelle, helen, netweb, lamosty, willybahuaud, maurobringolf, jorbin, spocke, androb, annaharrison, Afraithe, georgeh, matt, melchoyce, nitrajka, sirreal, babbardel, arush, martinlugton, iandunn, oyously, rileybrook, azaozz, folletto, ianstewart, johnpixle, clorith, joedolson, ipstenu, mrwweb, diegoliv, jeffpaul, lukecavanagh, shaunandrews, hugobaeta, jjj, mizejewski, buzztone, jdembowski, webdevmattcrom, GaryJones, jasonagnew, dd32, ieatwebsites, gma992, swissspidy, dixitadusara, ameeker, stagger-lee, jblz, nicbertino, rahmohn, vladanost, gziolo, lancewillett, lynneux, betsela, fuyuko, msdesign21, thrijith, chanthaboune, Cloud887, hblackett, vishalkakadiya, c-shultz, nfmohit, noisysocks, omarreiss, hedgefield, hideokamoto, mirucon, nosolosw, DannyCooper, burhandodhy, zebulan, benjamin_zekavica, danielbachhuber, jorgefilipecosta, ajitbohra, bph, ChrisVanPatten, dixitadusara, antpb, mikehaydon, jahvi, floriansimeth, Mathiu, amedina, diegoreymendez, etoledom, caxco93, yoavf, welcher, bobbingwide, jonsurrell, notlaura, ocean90, eliorivero, wpscholar, Shelob9, travislopes, earnjam, designsimply, johnwatkins0, dfangstrom, igorsch, jaswrks, daniloercoli, rianrietveld, dimadin, SergioEstevao, dlocc, tinkerbelly, schlessera, sumobi, kjellr, ireneyoast, hypest, tfrommen, intronic, johnny5, samikeijonen, bpayton, atimmer, Rahmon, tg-ephox, nerrad, talldan, Xyfi.

See #45037.
No action taken yet
git: f488d42
svn: r43814
262 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 04:15:27 +0000
Themes: Document the new theme features being added.
The `add_theme_support()` inline docs now includes the features that the block editor adds.

Props desrosj.
See #45134.
No action taken yet
git: 52beb9c
svn: r43813
263 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 01:18:38 +0000
KSES: Allow the `download` attribute on `<a>` tags.
To avoid this being a vector for bypassing the filetypes that are allowed to be uploaded, this attribute is only allowed to be added without a value.

Props kalpshit, arshidkv12, welcher, peterwilsoncc, marina_wp, pento.
See #44724.
No action taken yet
git: 2bfffb3
svn: r43812
264 of 389
Author
Gary Pendergast <[email protected]> 2018-10-24 00:35:51 +0000
Styles: Add helper functions for loading block styles.
Blocks are able to register styles that used in the editor and the frontend, or only in the editor. These functions ensure the correct styles are loaded in the correct place.

See #45065.
No action taken yet
git: dfbe885
svn: r43811
265 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-23 18:55:45 +0000
Meta: Allow empty strings to be set by Custom Fields meta box.
Because the REST API allows meta keys to have empty values, the Custom Fields meta box should permit the same behavior.

Props charlestonsw, soulseekah.
Fixes #43559.
No action taken yet
git: 8c0b678
svn: r43810
266 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-23 17:47:28 +0000
Embeds: Filter HTML response in oEmbed proxy controller.
Adapts the response from `WP_oEmbed_Controller::get_proxy_item()` so that the response is correctly filtered and embeds work properly in JavaSccript editors. Introduces new `get_oembed_response_data_for_url()` function for preparing internal oEmbed responses.

Props danielbachhuber, imath, swissspidy.
Fixes #45142.
No action taken yet
git: 51d04a1
svn: r43809
267 of 389
Author
Aaron Jorbin <[email protected]> 2018-10-23 16:50:33 +0000
Bundled Theme: Make twentynineteen the default theme.
After [43808], we can now make twentynineteen the default theme. Twentyseventeen has been a great default, but 5.0 and twentynineteen is guten.

Fixes #45152.
No action taken yet
git: 00a68dc
svn: r43808
268 of 389
Author
allancole <[email protected]> 2018-10-23 15:52:15 +0000
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.
No action taken yet
git: 838bad6
svn: r43807
269 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 11:03:20 +0000
Dashboard: Remove the Try Gutenberg callout.
Block or block not. There is no try.

Props mukesh27.
See #45063.
No action taken yet
git: e9abe64
svn: r43806
270 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-23 10:58:35 +0000
Blocks: Fix coding standards introduced in [43804].
Props Presskopp, swissspidy.
See #45098
No action taken yet
git: 9811439
svn: r43805
271 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 07:03:47 +0000
REST API: Add endpoints for blocks.
`WP_REST_Block_Renderer_Controller` allows rendering of server-side rendered blocks, whilst `WP_REST_Blocks_Controller` allows retrieving of reusable blocks.

Props desrosj, danielbachhuber, pento.
See #45065.
No action taken yet
git: 2b18dcd
svn: r43804
272 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 06:52:03 +0000
Blocks: Add the reusable block post type, `wp_block`.
See #45098.
No action taken yet
git: 4bdfa3d
svn: r43803
273 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 06:35:17 +0000
Scripts: `wp-url` is a dependency of `wp-api-fetch`.
See #45065.
No action taken yet
git: cf0f8e8
svn: r43802
274 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 06:20:23 +0000
Script Loader: Fix metadata being registered as an inline script.
[43723] included script metadata for the `wp-polyfill` script that was being registered as an inline script.

See #45065.
No action taken yet
git: ff39bf3
svn: r43801
275 of 389
Author
Gary Pendergast <[email protected]> 2018-10-23 05:34:43 +0000
Build: Update the `@wordpress/editor` package.
The `@wordpress/editor` wasn't upgraded to the correct version in [43789].

This commit includes changes from the `@wordpress/block-library` upgrade in [43789], that weren't copied to the correct location in core.

This also regenerates the `package-lock.json` in Linux, which the build server requires.

See #45145.
No action taken yet
git: 2d4c428
svn: r43800
276 of 389
Author
David A. Kennedy <[email protected]> 2018-10-23 01:25:03 +0000
Twenty Seventeen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Seventeen. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.

Props laurelfulford, ianbelanger, crunnells.
Fixes #45045.
No action taken yet
git: 067529b
svn: r43799
277 of 389
Author
David A. Kennedy <[email protected]> 2018-10-23 01:03:09 +0000
Twenty Sixteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Sixteen. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props laurelfulford.
Fixes #45044.
No action taken yet
git: b6023b4
svn: r43798
278 of 389
Author
David A. Kennedy <[email protected]> 2018-10-23 00:35:37 +0000
Twenty Fifteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Fifteen. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props laurelfulford.
Fixes #45043.
No action taken yet
git: ae00fd9
svn: r43797
279 of 389
Author
David A. Kennedy <[email protected]> 2018-10-23 00:10:28 +0000
Twenty Fourteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Fourteen. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props laurelfulford, crunnells, ianbelanger.
Fixes #45042.
No action taken yet
git: d5e7451
svn: r43796
280 of 389
Author
David A. Kennedy <[email protected]> 2018-10-22 23:43:55 +0000
Twenty Thirteen: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Thirteen. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.
* Add theme support and styles for `align-wide`, to allow wide and full alignment styles on the blocks.

Props laurelfulford, ianbelanger.
Fixes #45041.
No action taken yet
git: fcabcf1
svn: r43795
281 of 389
Author
David A. Kennedy <[email protected]> 2018-10-22 23:17:55 +0000
Twenty Twelve: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Twelve. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props ianbelanger, crunnells, laurelfulford.
Fixes #45040.
No action taken yet
git: 44da7d6
svn: r43794
282 of 389
Author
David A. Kennedy <[email protected]> 2018-10-22 23:02:44 +0000
Twenty Eleven: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Eleven. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props ianbelanger, laurelfulford.
Fixes #45039.
No action taken yet
git: 06a77e8
svn: r43793
283 of 389
Author
David A. Kennedy <[email protected]> 2018-10-22 22:37:18 +0000
Twenty Ten: Add styles and support for the new block-based editor.
This update adds styles and theme support related to the new block-based editor to enhance the experience of using it with Twenty Ten. 

These are the specific changes made to this theme:

* Add blocks.css, to style blocks on the front end, to make sure they match the theme’s existing HTML element styles.
* Add editor-blocks.css to style blocks in the editor, to make sure they match the theme’s existing HTML element styles.
* Add theme support for `editor-styles`, to pull the existing editor stylesheet into the new editor.
* Add theme support for `wp-block-styles`, to load the default block styles on the front end.
* Add theme support for `editor-color-palette`, to load a color palette based on the theme’s color scheme into the block-based editor.

Props nielslange, crunnells, laurelfulford.
Fixes #45038.
No action taken yet
git: 9c4aff4
svn: r43792
284 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-10-22 21:26:20 +0000
Meta Boxes: Sync checks for valid meta boxes from `do_meta_boxes()` to `the_block_editor_meta_boxes()`.
See #45112.
No action taken yet
git: 1fc8a06
svn: r43791
285 of 389
Author
Dominik Schilling (ocean90) <[email protected]> 2018-10-22 21:00:47 +0000
Themes: Remove a stray slash and `gutenberg` text domain.
See #45125.
No action taken yet
git: 443771e
svn: r43790
286 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-22 19:57:07 +0000
Themes: Introduce responsive embeds support.
Responsive embeds is a way for a theme to opt in to WordPress dynamically scaling the width/height of an embed. When a theme supports responsive embeds, a `wp-embed-responsive` class is added to the `<body>` tag. This information is also presented through the REST API for clients to respect.

Props desrosj.
Fixes #45125.
No action taken yet
git: d45455e
svn: r43789
287 of 389
Author
Anton Timmermans <[email protected]> 2018-10-22 13:57:49 +0000
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.
No action taken yet
git: 91f1b57
svn: r43788
288 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 06:12:55 +0000
Script/Style Dependencies: Make sure that inline scripts for handles without a source are printed.
See [36550] for `WP_Styles`.

Merges [43565] to the 5.0 branch.

Props bpayton.
Fixes #44551.
No action taken yet
git: 96a8987
svn: r43787
289 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 06:05:01 +0000
TinyMCE: remove stray CSS map reference from `skin.min.css`.
Merges [43581] to the 5.0 branch.

Props pross.
Fixes #44785.
Backported in 83f5e1a
git: d94fa84
svn: r43786
290 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 05:14:59 +0000
Build/Tools: Add PHPCS to the 5.0 branch.
This allows us to apply WordPress Coding Standards rules to new files in the 5.0 branch.

Props netweb.
Fixes #44366.
No action taken yet
git: c676504
svn: r43785
291 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 05:06:00 +0000
Build: Update images following [43684].
`grunt-contrib-imagemin` was updated, which included some changes to image minification. Those changes are now applies.

Props netweb.
See #45080.
No action taken yet
git: 12a7cf7
svn: r43784
292 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 05:03:38 +0000
Build: Updated CSS vendor prefixes following [43684].
`autoprefixer` was updated, which included some vendor prefix changes. Those changes are now applied.

Props netweb.
See #45080.
No action taken yet
git: ceaf09a
svn: r43783
293 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 04:53:49 +0000
Build: Ignore the vendor directory during the `jsvalidate:build` task.
Props netweb.
Fixes #45119.
No action taken yet
git: 34aa09d
svn: r43782
294 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 04:49:24 +0000
Build: Switch package.json to using tabs for indents.
Merges [42460] to the 5.0 branch.

Props netweb.
Fixes #43075.
No action taken yet
git: 0dffb08
svn: r43781
295 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 04:03:07 +0000
KSES: Allow `url()` to be used in inline CSS.
The cover image block uses the `url()` function in its inline CSS, to show the cover image. KSES didn't allow this, causing the block to not save correctly for Author and Contributor users. As KSES does already check each attribute name against an allowed list, we're able to add an extra check for certain attributes to be able to use the `url()` function, too.

Props peterwilsoncc, azaozz, pento, dd32.
See #45067.
No action taken yet
git: b5c0d60
svn: r43780
296 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 03:13:09 +0000
Block Editor: Add extra body classes when the block editor is loaded.
See #45037.
No action taken yet
git: 5753786
svn: r43779
297 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 02:31:38 +0000
Meta Boxes: Add `__back_compat_meta_box` and `__block_editor_compatible_meta_box` flags to meta boxes.
When meta boxes are registered, they can use the `__back_compat_meta_box` and `__block_editor_compatible_meta_box` flags, to show whether this registration just exists for if the classic editor is loaded, and whether this meta box is compatible with the block editor.

When a meta box marks itself as incompatible with the block editor, and `WP_DEBUG` is enabled, a warning will show inside that meta box in the classic editor.

As all core meta boxes have been recreated in the block editor, they can be marked with the `__back_compat_meta_box` flag.

See #45112.
No action taken yet
git: 0154e30
svn: r43778
298 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 02:15:28 +0000
Block Editor: Add helper functions to collect meta box information.
To allow the block editor to render meta boxes, it needs to collect information about how those meta boxes are registered, and format it for the block editor to make use of.

See #45112.
No action taken yet
git: d0eaeb3
svn: r43777
299 of 389
Author
Gary Pendergast <[email protected]> 2018-10-22 02:05:23 +0000
Block Editor: Add an `is_block_editor()` method to `WP_Screen`.
This method allows checking (or setting) whether the block editor is loading on the current screen.

See #45037.
No action taken yet
git: a398d99
svn: r43776
300 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-21 15:02:49 +0000
REST API: Render response in user locale with `?_locale=user`.
Introduces new `determine_locale()` function for deciding the proper locale to use for a response. Default value is `get_user_locale()` in the admin, and `get_locale()` on the frontend. Because REST API requests are considered frontend requests, `?_locale=user` can be used to render the response in the user's locale.

Also updates `wp-login.php?wp_lang` implementation to benefit from this abstraction.

Props flixos90, mnelson4, swissspidy, TimothyBlynJacobs.
Fixes #44758.
No action taken yet
git: 709329b
svn: r43775
301 of 389
Author
Gary Pendergast <[email protected]> 2018-10-20 08:35:41 +0000
Revisions: Improve performance of `WP_Text_Diff_Renderer_Table`.
`WP_Text_Diff_Renderer_Table` is used to generate the diff view in revisions, but there were some cases that could cause it to take excessive amounts of time to run.

Some noteable cases include:
- When a large number of new lines were inserted in the middle of the post from one revision to the next.
- When both revisions contain >100 lines.
- When either revision contains a lot of long lines.

In one extreme test case, the diff view took over a minute to generate. With this change, it now takes less than a second.

See #35667.
No action taken yet
git: 48ae93d
svn: r43774
302 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-20 04:20:58 +0000
REST API: Restore Autosaves controller test for multisite.
PHPUnit 3.6.x requires `exclude` and `file` paths to be relative to the checkout root.

PHPUnit 4.0.0+ requires the paths to be relative to the configuration file.

See #45131.
No action taken yet
git: de6ca79
svn: r43773
303 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 18:52:31 +0000
REST API: Limit the scope of wp-admin files required in WP_REST_Attachments_Controller methods.
Narrow the scope of the included wp-admin files loaded for `wp_generate_attachment_metadata()`, `wp_handle_upload()`, `wp_tempnam()`, and `wp_handle_sideload()`. Requires only `wp-admin/includes/file.php` and `wp-admin/includes/image.php` instead of `wp-admin/includes/admin.php`.

Props ocean90, lonelyvegan, soulseekah, pratikthink.
Merges [43589], [43604] to the 5.0 branch.
Fixes #43757.
No action taken yet
git: 445e2ea
svn: r43772
304 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 18:40:33 +0000
Help/About: Ensure the space after the period for the 4.9.8 changelog entry is preserved.
Props chetan200891, burhandodhy, swissspidy.
Merges [43622] to the 5.0 branch.
See #44717.
No action taken yet
git: 7eeb2e5
svn: r43771
305 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 18:32:03 +0000
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.
No action taken yet
git: e961334
svn: r43770
306 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 17:57:38 +0000
REST API: Include `block_version` on Post `content` object.
The `block_version` denotes which version of Blocks the `post_content` contains. Introduces new `block_version()` function for versioning Blocks.

Props danielbachhuber, birgire.
Fixes #43887.
No action taken yet
git: 523213a
svn: r43769
307 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 14:08:12 +0000
REST API: Skip Autosaves controller test for multisite.
There's some PHP 5.2 (cough, cough) edge case where paths calculated differently, possibly caused by differing version of PHPUnit.

See #45132, #45131, #43316.
No action taken yet
git: ef67f4a
svn: r43768
308 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 13:48:42 +0000
REST API: Introduce Autosaves controller and endpoint.
* Adds `WP_REST_Autosaves_Controller` which extends `WP_REST_Revisions_Controller`.
* Autosaves endpoint is registered for all post types except `attachment` because even post types without revisions enabled are expected to autosave.
* Because setting the `DOING_AUTOSAVE` constant pollutes the test suite, autosaves tests are run last. We may want to improve upon this later.

Props adamsilverstein, aduth, azaozz, danielbachhuber, rmccue.
Fixes #43316.
No action taken yet
git: e8eabb8
svn: r43767
309 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 11:56:20 +0000
REST API: Use a truly impossibly high number in User Controller tests.
The `100` number could be valid in certain test run configurations. The `REST_TESTS_IMPOSSIBLY_HIGH_NUMBER` constant is impossibly high for this very reason.

Fixes #45128.
No action taken yet
git: 60b2d59
svn: r43766
310 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-19 11:13:57 +0000
REST API: Ensure rest_url() consistently has leading slash.
`rest_url()` inconsistent addes slashes to the passed path depending on whether the site has pretty permalinks enabled. Apart from being inconsistent, this also caused the unit tests to fail when pretty permalinks are enabled.

Props frank-klein.
Merges [42250] to the 5.0 branch.
Partially reverts [43720].
Fixes #42452. See #41451, #45017.
No action taken yet
git: 583e422
svn: r43765
311 of 389
Author
Miguel Fonseca <[email protected]> 2018-10-19 10:50:20 +0000
Deactivate Gutenberg plugin on update to 5.0.
Fixes #45123.
No action taken yet
git: e746cb6
svn: r43764
312 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 09:11:12 +0000
i18n: Remove some translation domains accidentally included in [43762].
See #45110.
No action taken yet
git: 88fbc8f
svn: r43763
313 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 08:56:58 +0000
REST API: Introduce the `rest_preload_api_request()` function.
This function helps perform multiple REST API requests, for the purpose of preloading data into a page.

See #45110.
No action taken yet
git: 3ba1a2b
svn: r43762
314 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 08:43:25 +0000
Block Editor: Add helper functions for displaying the editor.
`use_block_editor_for_post()` and `use_block_editor_for_post_type()` determine if the block editor should be loaded.

`get_block_categories()` and `get_block_editor_server_block_settings()` provide data be included while the block editor is loading.

See #45110.
No action taken yet
git: ca27574
svn: r43761
315 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 06:44:16 +0000
General: Extract the code editor settings from `wp_enqueue_code_editor()`.
They're now returned by a new function, `wp_get_code_editor_settings()`, so they can be reused by the block editor.

See #45127.
No action taken yet
git: fd21d0a
svn: r43760
316 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 06:05:13 +0000
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.
No action taken yet
git: d73d13e
svn: r43759
317 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 05:51:07 +0000
i18n: Add the `wp_get_jed_locale_data()` function.
This function formats locale information to be used by Jed.

Props desrosj.
See #45111.
No action taken yet
git: fddc8d9
svn: r43758
318 of 389
Author
Gary Pendergast <[email protected]> 2018-10-19 01:42:15 +0000
Classic Editor: Disable the wpautop TinyMCE plugin on block posts.
As the block editor adds its own `<p>` tags, disabling the wpautop stops the classic editor from removing them.

See #45113.
No action taken yet
git: 93817f5
svn: r43757
319 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-18 20:48:17 +0000
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.
No action taken yet
git: 111a9ea
svn: r43756
320 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-18 20:31:58 +0000
REST API: Correct HTTP status code in error for requests to create a duplicate term.
The 409 error code is intended for situations where it is expected that the user will resolve the conflict and resubmit the same request. We use 400 error codes for other routes when a duplicate request is made. The 400 status code tells the user they need to modify their request for it to be successful.

Props shooper.
Merges [42354] to the 5.0 branch.
Fixes #42781. See #41370.
No action taken yet
git: b11a2cf
svn: r43755
321 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-18 20:25:47 +0000
REST API: Fix permissions error message in post statuses controller.
The permissions error message when a request tries to fetch post statuses unauthenticated is incorrect. It was a copy/paste from elsewhere, as indicated by the use of "in this post type" where this is no post type referenced.

Props schlessera.
Merges [42356] to the 5.0 branch.
Fixes #42303.
No action taken yet
git: 6173837
svn: r43754
322 of 389
Author
Anton Timmermans <[email protected]> 2018-10-18 13:26:12 +0000
Script loading: Fix a PHP error introduced in [43753].
See #45065.
Props swissspidy.
No action taken yet
git: 4a2af25
svn: r43753
323 of 389
Author
Anton Timmermans <[email protected]> 2018-10-18 13:21:03 +0000
Script loading: Fix regression after [43738].
After [43738], TinyMCE would be loaded earlier than before, which
makes filters run at a different time relative to the loading of
TinyMCE. Fix this by calling `wp_print_scripts` at the location where
TinyMCE would previously be inserted as a `<script>` tag in the page.

Props azaozz, omarreiss.
Fixes #45065.
No action taken yet
git: 36cc615
svn: r43752
324 of 389
Author
Gary Pendergast <[email protected]> 2018-10-18 11:53:49 +0000
Blocks: Parse blocks when displaying posts.
Posts containing blocks are now correctly handled when displaying on the front end, including dynamic blocks and nested blocks.

See #45109.
No action taken yet
git: 570fc2a
svn: r43751
325 of 389
Author
Gary Pendergast <[email protected]> 2018-10-18 04:39:40 +0000
Blocks: Introduce the block parser.
The `WP_Block_Parser` class, and the accompanying `parse_blocks()` helper function, can be used to parse an array of blocks out of a content string.

`WP_Block_Parser` is copied from the `@wordpress/block-serialization-default-parser` package. To ensure it stays in sync with the JavaScript parser, changes should be implemented in the package first, then the package version should be upgraded to include the changes.

See #45109.
No action taken yet
git: 56b7476
svn: r43750
326 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 04:14:41 +0000
Media: Pass EXIF data to the `wp_read_image_metadata` filter.
Props desrosj.
Merges [42879] to the 5.0 branch.
Fixes #43624.
No action taken yet
git: f74570d
svn: r43749
327 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 04:13:36 +0000
Media: In `wp_read_image_metadata()`, rename `$sourceImageType` variable to `$image_type` to match coding standards.
Merges [42878] to the 5.0 branch.
See #43624.
No action taken yet
git: 280d790
svn: r43748
328 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 04:12:09 +0000
Build/Test Tools: Instruct Git and Subversion to ignore Composer's `vendor` directory.
Props netweb.
Merges [42405] to the 5.0 branch.
Fixes #42909.
No action taken yet
git: 27d8e6f
svn: r43747
329 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 04:08:08 +0000
Build/Test Tools: Remove `vendor` file name entry from `.gitignore.`
Props netweb.
Merges [42733] to the 5.0 branch.
Fixes #43411.
No action taken yet
git: dcb3ac9
svn: r43746
330 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 03:41:46 +0000
General: PHP 7.3 throws an `E_WARNING` when using continue to target a switch.
Applying continue to a switch is equivalent to using break and quite possibly, a continue targeting a higher level control structure is actually intended.

To target the higher level control structure, a numeric argument has to be passed to continue. This fixes two cases in WordPress Core where this is currently happening.

See: https://github.com/php/php-src/pull/3364
See: https://wiki.php.net/rfc/continue_on_switch_deprecation

Props jrf.
Merges [43653] to the 5.0 branch.
Fixes #44543.
Backported in 36152b6
git: 6a57068
svn: r43745
331 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-18 03:10:42 +0000
Media: Remove checkered background for icons in Attachment Details.
Props BandonRandon.
Merges [42642] to the 5.0 branch.
Fixes #42535. See #41948.
No action taken yet
git: f8be144
svn: r43744
332 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-18 02:03:58 +0000
Posts, Post Types: Add labels for post transformation messages.
Because the existing `post_updated_messages` filter can be modified dynamically based on post state, it's unreliable to use with REST API clients. Instead, these new labels give clients stateless equivalents.

Props earnjam.
Fixes #45101.
No action taken yet
git: 7ae9e6a
svn: r43743
333 of 389
Author
Gary Pendergast <[email protected]> 2018-10-18 01:52:58 +0000
Blocks: Introduce `register_block_type()`, `unregister_block_type()`, and `get_dynamic_blocks()` functions.
These helper functions allow easy access to the global block registry.

See #45109.
No action taken yet
git: 15b8548
svn: r43742
334 of 389
Author
Gary Pendergast <[email protected]> 2018-10-18 01:30:49 +0000
Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes.
These are the foundational classes allowing blocks to be registered and used throughout WordPress.

This commit also includes the `has_block()` and `has_blocks()` functions, which are required for unit testing these classes.

Props adamsilverstein, danielbachhuber, desrosj.
See #45097, #45109.
No action taken yet
git: 76468d6
svn: r43741
335 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-17 22:19:20 +0000
REST API: Fix version number in `_doing_it_wrong()` call.
`_doing_it_wrong()`, indeed.

Props joehoyle.
See #39965.
No action taken yet
git: 5b45675
svn: r43740
336 of 389
Author
K. Adam White <[email protected]> 2018-10-17 20:09:33 +0000
REST API: Slash existing meta values when comparing with incoming meta upates.
When comparing the old and new values for a meta key being set, ensure both values are sanitized using the same logic so that equal values match.

props boonebgorges, dcavins, MattGeri, pilou69, TimothyBlynJacobs.
Fixes #42069.
No action taken yet
git: 22d1068
svn: r43739
337 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-17 17:02:04 +0000
REST API: Introduce controller for searching across post types.
Introduces a `WP_REST_Search_Controller` class which registers a `/wp/v2/search` endpoint. Search types are handled by extending `WP_REST_Search_Handler`. The default search type is `WP_REST_Post_Search_Handler` but can be filtered by plugins or a theme.

Props danielbachhuber, flixos90, pento, rmccue.
Fixes #39965.
No action taken yet
git: 5e08141
svn: r43738
338 of 389
Author
Anton Timmermans <[email protected]> 2018-10-17 15:28:33 +0000
Script loader: Adjust JS packages registration.
Adjusts the packages registration after [43723]:

* Combine the different registration functions into one
`wp_default_packages` function. To reach this goal move the prefix
logic into a function so it can be called from different locations.
Use a `static` variable there to prevent duplicate inclusion of
`version.php`.
* Call this function from the `wp_default_scripts` action by
registering it as a default filter.
* Combine some of the logic in `_WP_Editors::print_tinymce_scripts`
into `wp_register_tinymce_scripts`. The logic to force an uncompressed
TinyMCE script file stays in `_WP_Editors::force_uncompressed_tinymce`
because that logic is very specific to the classic editor.
* The script handle `wp-tinymce` is now a dependency of the `editor`
script handle. In combination with the previous item, this makes the
classic editor work.
* Adjust the syntax of the script paths to be more consistent with
other WordPress code.
* Always use `"production"` mode for the media files to prevent people
from inadvertently committing development files.

Props pento, omarreiss.
Fixes #45065.
No action taken yet
git: f888c8d
svn: r43737
339 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-17 11:19:02 +0000
REST API: Fire actions after items are completely updated/inserted.
The existing `rest_insert_*` actions are fired before meta and additional fields are updated. These new `rest_after_*` actions fire after all write operations have completed.

Props timothyblynjacobs.
Fixes #42864.
No action taken yet
git: 5773ee9
svn: r43736
340 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-17 02:40:23 +0000
REST API: Don't add fields to object when not included in `?_fields=`.
In [43087], we improved REST API performance by only rendering the fields specified in the request. Similarly, any fields registered with `register_rest_field()` should only be rendered when included in `?_fields=`.

Props dlh.
Fixes #45099.
No action taken yet
git: 95bfae3
svn: r43735
341 of 389
Author
K. Adam White <[email protected]> 2018-10-16 22:49:59 +0000
REST API: Add new class file and tests missed in [43734].
See #45016.
No action taken yet
git: ca79cbb
svn: r43734
342 of 389
Author
K. Adam White <[email protected]> 2018-10-16 22:27:05 +0000
REST API: Introduce themes endpoint to expose theme-supports values for the active theme.
In order to correctly render parts of its UI, the new editor needs to be aware of the active theme's post-formats and post-thumbnails support. This data is exposed by querying for the active theme on a new /wp/v2/themes endpoint for sufficiently privileged users.

props desrosj.
Fixes #45016.
No action taken yet
git: 51d8512
svn: r43733
343 of 389
Author
Peter Wilson <[email protected]> 2018-10-16 04:41:45 +0000
Formatting: Add new tests missed in [43732].
Completes merging [42770] to the 5.0 branch.
See #43187.
No action taken yet
git: 6d417d9
svn: r43732
344 of 389
Author
Peter Wilson <[email protected]> 2018-10-16 04:12:21 +0000
Formatting: Add pre-save content filter to make target=_blank always secure.
Props notnownikki, iseulde, azaozz.
Merges [42770] to the 5.0 branch.
Fixes #43187.
No action taken yet
git: 6f6435f
svn: r43731
345 of 389
Author
Peter Wilson <[email protected]> 2018-10-15 23:43:40 +0000
KSES: Add selected ARIA attributes support.
Allow low-privileged users to use the ARIA attributes `aria-describedby`, `aria-details`, `aria-label`, `aria-labelledby` and `aria-hidden`.

Props mattheu, swissspidy, rianrietveld, afercia, GaryJ.
See #30421.
No action taken yet
git: f273b8d
svn: r43730
346 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-15 22:05:18 +0000
Load: Disable PHP errors for JSON requests
Because WP REST API requests aren't identified until `parse_request`, it's impractical to reference the `REST_REQUEST` constant in `wp_debug_mode()`. Instead, it's more helpful to assume that a request wanting a JSON response probably doesn't want PHP errors breaking the response.

Props chrisl27, duanestorey, earnjam.
Fixes #44534.
No action taken yet
git: b0cd1e0
svn: r43729
347 of 389
Author
Felix Arntz <[email protected]> 2018-10-15 11:45:16 +0000
REST API: Move object type-specific metadata integrations from the wrapper functions to the low-level Meta API functions.
Object type-specific actions that should happen before or after modification of metadata have so far been part of the respective wrapper functions. By using action and filter hooks, this changeset ensures they are always executed, even when calling the lower-level Meta API functions directly, which the REST API does as a prime example.

Props flixos90, spacedmonkey.
Fixes #44467.
No action taken yet
git: bb60df4
svn: r43728
348 of 389
Author
Gary Pendergast <[email protected]> 2018-10-15 05:34:48 +0000
Posts: Remove the slug from Quick Edit for CPTs with `publicly_queryable` disabled.
In the full edit screen, CPTs that have disabled the `publicly_queryable` option will hide the slug field, as it doesn't need to be edited. This change brings the Quick Edit view into line with that behaviour.

Merges [43664] to the 5.0 branch.

Props bhargavmehta, krutidugade.
Fixes #43278.
No action taken yet
git: c4052ed
svn: r43727
349 of 389
Author
Peter Wilson <[email protected]> 2018-10-15 05:21:04 +0000
KSES: Allow HTML data-* attributes.
Add global support for HTML attributes prefixed `data-` for authors and contributors, as required by the new editor.

Props azaozz, peterwilsoncc.
Fixes #33121.
No action taken yet
git: 06edce0
svn: r43726
350 of 389
Author
Aaron Jorbin <[email protected]> 2018-10-15 02:47:44 +0000
Build/Test Tools: Use 7.3 for PHP 7.3
Travis now supports PHP7.3 without workarounds, so let's remove the workarounds.

Previously [43692].

See #44771.
Backported in dc1ce21
git: 9ee5c9d
svn: r43725
351 of 389
Author
Gary Pendergast <[email protected]> 2018-10-13 03:10:50 +0000
Build/Test Tools: Remove an extra line incorrectly included in [43724].
See #44858.
No action taken yet
git: 6cd32e3
svn: r43724
352 of 389
Author
Gary Pendergast <[email protected]> 2018-10-13 02:51:34 +0000
Build/Test Tools: Implement the automatic retry functionality that Travis CI provides.
This functionality will cause the command to be retried up to three times in case of a non-zero return value. Implementing it on commands that perform network requests means that intermittent network failures are less likely to cause a build to fail, as they'll be retried up to three times.

Merges [43645] to the 5.0 branch.

Props johnbillion.
Fixes #44858.
No action taken yet
git: 647fa41
svn: r43723
353 of 389
Author
Anton Timmermans <[email protected]> 2018-10-12 11:43:50 +0000
Script loader: Register @wordpress scripts.
This allows the packages to be consumed by plugins and core itself.
The code has been based on the work done in the Gutenberg plugin.

We've added an array with all the packages and the vendor packages to
loop through. This sets a convention so all packages will be
registered in the same way. This array can eventually be generated by
a webpack plugin.

We need to register TinyMCE explicitly. Previously TinyMCE was used
by inserting custom `<script>` tags into the relevant admin pages.
This is not suitable for the new editor, so we need to explicitly
register TinyMCE. We could, in the future, refactor the custom
`<script>` tags to use the registered TinyMCE script instead.

Polyfills are inserted into the page only when necessary using
`document.write`.

Props omarreiss, herregroen, youknowriad, gziolo.
Fixes #45065.
No action taken yet
git: d8fc849
svn: r43722
354 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-12 11:15:46 +0000
Database: In `require_wp_db()`, check if database constants are defined before using them.
Otherwise, `wp-admin/setup-config.php` triggers an undefined constant warning in PHP 7.2.

Props mariusvw, jryancard for initial patch.
Merges [42701] to the 5.0 branch.
Fixes #35560.
Backported in 35192c0
git: 007afd4
svn: r43721
355 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-11 23:13:42 +0000
Build: Bump the version of node used on Travis to match `package.json` for 5.0.
See [43684].
See #45064.
No action taken yet
git: d7f287b
svn: r43720
356 of 389
Author
Daniel Bachhuber <[email protected]> 2018-10-11 22:24:51 +0000
REST API: Include `permalink_template`/`generated_slug` for Posts
In order for clients to present permalink previews, the REST API must share the computed results of `get_sample_permalink()`. These two values are now exposed as `permalink_template` and `generated_slug` for public, viewable post types, but only for `context=edit`.

Props danielbachhuber, rahulsprajapati.
Fixes #45017.
No action taken yet
git: 2588c1c
svn: r43719
357 of 389
Author
Anton Timmermans <[email protected]> 2018-10-11 10:00:16 +0000
Build tools: Build @wordpress packages with webpack.
We decided to split the media webpack config into it's own file. The
main webpack config then combines this file with the packages config.

Include vendor scripts by copying them. We copy the minified files if
they are available. If they aren't available we minify the original
files ourselves.

Props omarreiss, herregroen, gziolo, youknowriad, netweb, adamsilverstein.
See #45065.
No action taken yet
git: cd6baab
svn: r43718
358 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-11 08:13:51 +0000
Media: Ensure the "Edit more details" link in the attachment details modal always points to the correct editing URL.
Merges [43601] to the 5.0 branch.
Fixes #44620.
No action taken yet
git: 1834c52
svn: r43717
359 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-11 08:10:54 +0000
Media: In `WP_Image_Editor::make_image()`, close previously opened output buffer if the file could not be created.
In addition to the merge noted below, includes important brackets added in [42343].

Props dhanendran, gnif, SergeyBiryukov.
Merges [42695] and [42702] to the 5.0 branch.
Fixes #43255.
Backported in 36152b6
git: b513113
svn: r43716
360 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-11 07:15:34 +0000
REST API: Support pagination, order, search and other common query parameters for revisions.
The original REST API revisions controller relied on `wp_get_post_revisions()`, getting all revisions of a post without any possibility to restrict the result. This changeset replaces that function call with a proper `WP_Query` setup, replicating how `wp_get_post_revisions()` works while offering parameters to alter the default behavior.

Props adamsilverstein, birgire, flixos90.
Merges [43584-43586], [43647] to the 5.0 branch.
Fixes #40510.
No action taken yet
git: 184cf32
svn: r43714
361 of 389
Author
Sergey Biryukov <[email protected]> 2018-10-11 06:34:34 +0000
REST API: Pass correct ID to `meta->update_value` to permit set