Commit Graph

2312 Commits

Author SHA1 Message Date
desrosj
8b0f279239 Twenty Seventeen: Use a simple counter incremented with each call instead of uniqid() for generating unique IDs for HTML elements.
Props westonruter, laurelfulford.

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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-06 20:19:45 +00:00
laurelfulford
b828ba64bb 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-21 21:09:47 +00:00
laurelfulford
ea4a4f3492 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:38:50 +00:00
laurelfulford
89e63dfc80 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:13:39 +00:00
laurelfulford
c8b708b68a 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.


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


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


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 20:01:46 +00:00
desrosj
497dfe7d5f 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.
Built from https://develop.svn.wordpress.org/branches/5.0@44210


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-15 17:14:46 +00:00
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
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
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
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
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
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
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
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
allancole
31692a5f6e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-12 23:20:51 +00:00
laurelfulford
1e73770c39 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 06:17:47 +00:00
laurelfulford
c42f50371e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 06:06:48 +00:00
laurelfulford
115f10be59 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 05:57:46 +00:00
laurelfulford
720d54d544 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 01:26:47 +00:00
laurelfulford
b61dd6109c 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 01:22:48 +00:00
laurelfulford
8362e6601e 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 01:10:47 +00:00
laurelfulford
f89d4e6bb2 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.


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


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


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 00:50:48 +00:00
laurelfulford
6f076d4d51 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.


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


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-11-06 00:25:50 +00:00
allancole
c53ad88930 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.

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


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