Commit Graph

25582 Commits

Author SHA1 Message Date
laurelfulford
809f41f202 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:16:46 +00:00
laurelfulford
1e4cb608e9 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:15:59 +00:00
laurelfulford
22a50196d7 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:15:14 +00:00
desrosj
362b7a42cf 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44202


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:14:29 +00:00
desrosj
09b7e36205 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44201


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:13:42 +00:00
laurelfulford
0c05a129dc 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:12:57 +00:00
desrosj
76cff5acd0 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44199


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:12:12 +00:00
laurelfulford
6cbfcdd7e4 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:11:28 +00:00
laurelfulford
80b631315f 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:10:42 +00:00
desrosj
08befd9763 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44196


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:09:56 +00:00
laurelfulford
d3c1b8f08c 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:09:10 +00:00
laurelfulford
b108dc651e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:08:24 +00:00
allancole
e8fd5abb26 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:07:38 +00:00
allancole
d34d91d952 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:06:52 +00:00
laurelfulford
d2b62a76ea 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:06:08 +00:00
laurelfulford
2d1151b31b 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:05:22 +00:00
allancole
56e4de19ab 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:04:36 +00:00
laurelfulford
3175c26096 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:03:50 +00:00
allancole
288bb8f603 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:03:05 +00:00
desrosj
15db443250 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44185


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 11:01:25 +00:00
youknowriad
6137ee183b Block Editor: Upgrade @wordpress packages to the latest version (4.7).
Updated packages:

 - @wordpress/annotations@1.0.4
 - @wordpress/api-fetch@2.2.6
 - @wordpress/block-library@2.2.10
 - @wordpress/block-serialization-default-parser@2.0.2
 - @wordpress/block-serialization-spec-parser@2.0.2
 - @wordpress/blocks@6.0.4
 - @wordpress/components@7.0.4
 - @wordpress/core-data@2.0.15
 - @wordpress/data@4.1.0
 - @wordpress/date@3.0.1
 - @wordpress/edit-post@3.1.5
 - @wordpress/editor@9.0.5
 - @wordpress/eslint-plugin@1.0.0
 - @wordpress/format-library@1.2.8
 - @wordpress/html-entities@2.0.4
 - @wordpress/list-reusable-blocks@1.1.17
 - @wordpress/notices@1.1.1
 - @wordpress/nux@3.0.5
 - @wordpress/rich-text@3.0.3
 - @wordpress/url@2.3.2
 - @wordpress/viewport@2.0.13

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

Props atimmer, gziolo, joen.
Fixes #45442, #45637.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 10:59:46 +00:00
Jeremy Felt
83a466d844 Post-5.0.1 version bump for 5.0 branch.
Built from https://develop.svn.wordpress.org/branches/5.0@44105


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 03:40:46 +00:00
Jeremy Felt
ccfd64c423 Bump 5.0 branch to version 5.0.1.
Built from https://develop.svn.wordpress.org/branches/5.0@44077


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 02:11:45 +00:00
Peter Wilson
1f5919e631 Multisite: Validate activation links.
Merges [44048] to the 5.0 branch.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:30:45 +00:00
Gary Pendergast
8d463ab37f Editor: Remove unwanted fields before saving posts.
The `meta_input`, `file`, and `guid` fields are not intended to be updated through user input.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 01:25:47 +00:00
Peter Wilson
1894965f3f 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:28:46 +00:00
iandunn
6ae36b3cfd 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`.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-13 00:00:46 +00:00
iandunn
fb3c6ea061 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:53:45 +00:00
Gary Pendergast
d82b02eb33 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`.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:12:45 +00:00
Jeremy Felt
246a70bdbf Media: Improve verification of MIME file types.
Built from https://develop.svn.wordpress.org/branches/5.0@43988


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-12 23:01:47 +00:00
Gary Pendergast
7bfa0aeb0f WordPress 5.0.1-alpha.
Built from https://develop.svn.wordpress.org/branches/5.0@43972


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-06 19:46:47 +00:00
Gary Pendergast
671cccefd5 WordPress 5.0.
Built from https://develop.svn.wordpress.org/branches/5.0@43970


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-06 17:59:45 +00:00
Mel Choyce
f8c6849fb4 Help/About: Upload videos to CDN and remove autoplay/loop.
Props skithund, afercia, lonelyvegan.
See #45178.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-06 02:51:45 +00:00
Gary Pendergast
1b4fb4f9f0 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-05 22:25:47 +00:00
Gary Pendergast
ebd29f6fb9 About: Add ℹ️ to the classic editor link, to make it stand out a little more.
Props melchoyce.
See #45178.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 23:04:45 +00:00
Gary Pendergast
ad08c43e57 Post WordPress 5.0 RC3 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@43966


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 07:06:46 +00:00
Gary Pendergast
0e084deeb0 WordPress 5.0 RC3.
Built from https://develop.svn.wordpress.org/branches/5.0@43965


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 06:54:46 +00:00
Gary Pendergast
c85b1d8c84 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 04:32:46 +00:00
Gary Pendergast
de0e017977 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 04:17:46 +00:00
Gary Pendergast
f8ff8642b7 Twenty Nineteen: Fix classic block icons not displaying with non-latin fonts.
Props kjellr, allancole.
See #45424.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 04:12:45 +00:00
Gary Pendergast
ad9b38816c 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 04:10:45 +00:00
Gary Pendergast
3109e8211f 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 02:11:44 +00:00
Gary Pendergast
e99b7b5ed3 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-04 01:13:47 +00:00
desrosj
a2ca9a4d84 Post WordPress 5.0 RC2 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@43958


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 23:17:46 +00:00
desrosj
761e77cb88 WordPress 5.0 RC2.
Built from https://develop.svn.wordpress.org/branches/5.0@43957


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 23:05:45 +00:00
allancole
e24f0eb0cb 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 22:36:45 +00:00
youknowriad
1bc8389763 Block Editor: Update @wordpress package dependencies.
Updated packages

 - @wordpress/block-library@2.2.9
 - @wordpress/block-serialization-default-parser@2.0.1
 - @wordpress/block-serialization-spec-parser@2.0.1
 - @wordpress/blocks@6.0.3
 - @wordpress/edit-post@3.1.4
 - @wordpress/editor@9.0.4
 - @wordpress/format-library@1.2.7

Other changes:

 - Backport the parser changes.

Fixes #45145.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 20:58:46 +00:00
mcsf
73b656936c Update sidebars_widgets to match Twenty Nineteen's single widget area
* Also update the customizer tests to match it.

Props SergeyBiryukov, pento.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 20:25:46 +00:00
Mel Choyce
fa65b25ac7 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 16:27:47 +00:00
Mel Choyce
34e52b90e9 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 16:23:46 +00:00
youknowriad
d71ccc69e3 Block Editor: Remove the latest "gutenberg" mention in the latest-comments.php file
Props swissspidy.
See #45145.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 13:36:47 +00:00
youknowriad
50b094e3b0 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. 

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 13:24:45 +00:00
youknowriad
3dd6578998 Block Editor: Update @wordpress package dependencies.
Update packages:

 - @wordpress/block-library@2.2.8
 - @wordpress/components@7.0.3
 - @wordpress/edit-post@3.1.3
 - @wordpress/editor@9.0.3
 - @wordpress/format-library@1.2.6
 - @wordpress/list-reusable-blocks@1.1.16
 - @wordpress/nux@3.0.4

Other changes:

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

Props pento.
Fixes #45145.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-30 09:59:52 +00:00
Andrew Ozz
98b042e189 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.
Built from https://develop.svn.wordpress.org/branches/5.0@43947


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-29 08:30:46 +00:00
Mel Choyce
625cae3537 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-28 17:31:47 +00:00
Gary Pendergast
07ebb6262c Block Editor: Clarify a translator comment in meta box handling.
Props ocean90.
See #45217.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-27 06:39:48 +00:00
Gary Pendergast
c52f62f1f5 Post WordPress 5.0 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@43944


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-23 09:41:45 +00:00
Gary Pendergast
3c89b67e4e WordPress 5.0 RC1.
Built from https://develop.svn.wordpress.org/branches/5.0@43943


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-23 09:14:45 +00:00
youknowriad
91c4d2295b 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-23 08:35:45 +00:00
Gary Pendergast
be60664fe1 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-23 08:15:46 +00:00
Gary Pendergast
0a164850fc 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-23 00:42:45 +00:00
youknowriad
97e84f8a03 Block Editor: Refresh nonces used by wp.apiFetch.
Adds heartbeat nonces refreshing support to wp.apiFetch requests.

Props pento, adamsilverstein, dd32, desrosj.
Fixes #45113. 

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 19:40:46 +00:00
gziolo
a69e8cf788 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 18:03:45 +00:00
lonelyvegan
eaaa8c7dc6 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 15:24:45 +00:00
youknowriad
db6ae8a9be 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 07:25:45 +00:00
noisysocks
7ade352f0f Block Editor: Update @wordpress package dependencies
Updates packages:

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

See #45145

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 06:05:51 +00:00
Gary Pendergast
a7a70768ae 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:59:44 +00:00
Gary Pendergast
e0ff022be6 Build Tools: Don't minimise CSS in the unminimised files.
See #45201.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:21:46 +00:00
Gary Pendergast
7d19c028be 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 03:12:49 +00:00
Gary Pendergast
b93a84709d 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 02:05:47 +00:00
Peter Wilson
2c86860c5e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-22 00:24:48 +00:00
allancole
64fb03bd3a 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 22:43:48 +00:00
allancole
bfca06c5ac 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 22:30:49 +00:00
allancole
f1924dd922 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 20:14:49 +00:00
allancole
37875754c1 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


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 19:57:48 +00:00
youknowriad
7f07660ca8 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 19:46:48 +00:00
youknowriad
c749dc382f Block Editor: Clarify PHP Docs of the block_version function.
Clarify the return value.

Props desrosj, mukesh27.
Fixes #45342.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 19:39:49 +00:00
youknowriad
3ab0f22ec6 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 19:30:48 +00:00
Mel Choyce
cec4083b46 About Page: Update images and de-italicize a11y note.
Props @matveb, @kjellr, @Alexis Lloyd, @courtney0burton, @melchoyce.
See #45178.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 17:00:48 +00:00
mcsf
0d5fd392e8 Warn users of Gutenberg plugin of its deactivation upon 5.0 upgrade.
Fixes #45073.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 16:35:48 +00:00
mcsf
ba1c444bf3 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 16:18:49 +00:00
danielbachhuber
0fb5da94e6 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

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 15:09:57 +00:00
danielbachhuber
6b781c6823 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 14:44:48 +00:00
danielbachhuber
ded3bf63b7 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 14:35:48 +00:00
danielbachhuber
c06c2fe2d6 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 14:11:48 +00:00
Andrew Ozz
f979e79d54 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.
Built from https://develop.svn.wordpress.org/branches/5.0@43915


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 12:28:48 +00:00
Andrew Ozz
5e278d5892 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 12:18:51 +00:00
Mel Choyce
110a98f5e7 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 02:39:49 +00:00
Gary Pendergast
aea8dfd090 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 01:48:49 +00:00
laurelfulford
2b17adc00e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 01:05:50 +00:00
Gary Pendergast
f2dc6be776 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-21 01:03:48 +00:00
allancole
bf1668333f 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


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-19 21:27:51 +00:00
danielbachhuber
bcfb6d34f2 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-19 14:10:50 +00:00
Gary Pendergast
b8906e5e95 Post WordPress 5.0 Beta 5 version bump.
Built from https://develop.svn.wordpress.org/branches/5.0@43907


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 01:07:48 +00:00
Gary Pendergast
35108f5e4b WordPress 5.0 Beta 5.
Built from https://develop.svn.wordpress.org/branches/5.0@43906


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:58:48 +00:00
Gary Pendergast
3fa1bd8241 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:23:49 +00:00
allancole
2a8d718307 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.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:14:49 +00:00
aduth
2ae0f9e6b4 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

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:10:55 +00:00
Gary Pendergast
5e150a2264 Tests: Update a test that relied on the Hello Dolly plugin version.
[43900] changed the plugin version, causing a unit test failure.

See #45345.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-16 00:02:48 +00:00
Gary Pendergast
5ad2582000 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-15 23:53:49 +00:00