Sergey Biryukov
64b193980a
Bundled Themes: Remove redundant semicolons after closing curly brackets.
...
Includes a few minor indentation fixes.
Props jrf.
See #53359 .
Built from https://develop.svn.wordpress.org/trunk@51553
git-svn-id: http://core.svn.wordpress.org/trunk@51164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-05 13:25:58 +00:00
Sergey Biryukov
0be77d4ebf
Bundled Themes: Add /
character to <img>
tags.
...
While this has no effect on void elements in HTML5, it fixes a minor inconsistency with the rest of core.
Follow-up to [47493], [48834], [50556], [51473].
Props shital-patel, akabarikalpesh.
See #53870 .
Built from https://develop.svn.wordpress.org/trunk@51541
git-svn-id: http://core.svn.wordpress.org/trunk@51152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-08-04 14:24:02 +00:00
Sergey Biryukov
0f9e2d2c66
Bundled Themes: Remove extra trailing spaces from translatable strings in block patterns.
...
Follow-up to [49583], [51045].
Props audrasjb, mukesh27.
Fixes #53774 .
Built from https://develop.svn.wordpress.org/trunk@51496
git-svn-id: http://core.svn.wordpress.org/trunk@51107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-27 11:27:58 +00:00
Peter Wilson
08e06d74af
Bundled Themes: Version Bump 2010, 2011 and 2012.
...
Version bump three bundled themes to avoid file not found and fatal errors introduced for child themes during the 5.8 release cycle.
* Twenty Ten: Version 3.5 (fatal error & 404)
* Twenty Eleven: Version 3.9 (404)
* Twenty Twelve: Version 3.5 (404)
These updates will be released mid 5.8.1 cycle due to the severity of the issues.
Follow up to [51482,51483].
Props dd32, peterwilsoncc.
Fixes #53777 .
Built from https://develop.svn.wordpress.org/trunk@51486
git-svn-id: http://core.svn.wordpress.org/trunk@51097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-26 03:15:00 +00:00
Sergey Biryukov
f053aed3ce
Bundled Themes: Use correct path for loading images in block patterns.
...
By using `get_template_directory_uri()` instead of `get_stylesheet_directory_uri()`, we make sure to include the images from the parent theme.
This avoids displaying missing images in block patterns when using a child theme of Twenty Ten, Twenty Eleven, or Twenty Twelve.
Follow-up to [51033], [51103], [51106].
Props audrasjb.
Fixes #53769 .
Built from https://develop.svn.wordpress.org/trunk@51483
git-svn-id: http://core.svn.wordpress.org/trunk@51094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-24 12:42:00 +00:00
Sergey Biryukov
5ffbad0b42
Twenty Ten: Use correct path for loading block patterns.
...
By using `get_template_directory()` instead of `get_stylesheet_directory()`, we make sure to include the `block-patterns.php` file from the parent theme.
This avoids a PHP fatal error when using a child theme of Twenty Ten.
Follow-up to [51106].
Props ryelle, sabernhardt, loranrendel.
Fixes #53752 .
Built from https://develop.svn.wordpress.org/trunk@51482
git-svn-id: http://core.svn.wordpress.org/trunk@51093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-23 13:13:58 +00:00
desrosj
29e534376c
Bundled Themes: Bump bundled theme versions for WordPress 5.8.
...
This bumps the version for all bundle themes in preparation for release with WordPress 5.8. The new versions are as follows:
- Twenty Twenty-One: 1.4
- Twenty Twenty: 1.8
- Twenty Nineteen: 2.1
- Twenty Seventeen: 2.8
- Twenty Sixteen: 2.5
- Twenty Fifteen: 3.0
- Twenty Fourteen: 3.2
- Twenty Thirteen: 3.4
- Twenty Twelve: 3.4
- Twenty Eleven: 3.8
- Twenty Ten: 3.4
Props mukesh27, kapilpaul.
Fixes #53277 .
Built from https://develop.svn.wordpress.org/trunk@51455
git-svn-id: http://core.svn.wordpress.org/trunk@51066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-18 23:05:00 +00:00
desrosj
88cedeac5c
Bundled Themes: Revert the [51372] update to block patterns in bundled themes.
...
Upon further examination, this change was not great for backwards compatibility, resulting in block validation errors when running on older versions of WordPress.
While there are currently many `console.info()` notices caused by older format block syntax being updated to the current version included in WordPress 5.8, the blocks do not break.
Block patterns do not currently have a versioning mechanism, or a means to indicate which versions of WordPress are supported.
See #53617 .
Built from https://develop.svn.wordpress.org/trunk@51434
git-svn-id: http://core.svn.wordpress.org/trunk@51045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-14 20:02:59 +00:00
Sergey Biryukov
f45d515ff8
Twenty Fifteen: Use strict comparison in inc/custom-header.php
.
...
Props kapilpaul.
See #53359 .
Built from https://develop.svn.wordpress.org/trunk@51401
git-svn-id: http://core.svn.wordpress.org/trunk@51012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-10 18:43:57 +00:00
Sergey Biryukov
84f725010b
Bundled Themes: Correct comment formatting in inc/block-patterns.php
.
...
Follow-up to [51045], [51103].
Props kapilpaul.
See #53359 , #52627 .
Built from https://develop.svn.wordpress.org/trunk@51400
git-svn-id: http://core.svn.wordpress.org/trunk@51011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-10 18:40:57 +00:00
desrosj
b16abdec23
Bundled Themes: Update block patterns to match the latest versions of core/*
blocks.
...
When using the post editor with a bundled theme active, there will be a number of `console.info` notices printed to the browser’s console.
These notices are caused by block patterns containing outdated and deprecated versions of `core/*` blocks. Before rendering the blocks, they need to be updated, and this process outputs information to the console.
Props ntsekouras.
Fixes #53617 .
Built from https://develop.svn.wordpress.org/trunk@51372
git-svn-id: http://core.svn.wordpress.org/trunk@50983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-07 17:31:00 +00:00
desrosj
833382b2c9
Bundled Themes: Correct customzier
typo.
...
This was found in Twenty Twenty-One and Twenty Nineteen.
Props audrasjb, spytzo, sabernhardt.
Fixes #53598 .
Built from https://develop.svn.wordpress.org/trunk@51343
git-svn-id: http://core.svn.wordpress.org/trunk@50952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-06 14:02:57 +00:00
Sergey Biryukov
9c0611e9c0
Bundled Themes: Correct @since
tags for block patterns.
...
Follow-up to [49347], [49348], [49583], [49584], [49763], [51103].
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/trunk@51323
git-svn-id: http://core.svn.wordpress.org/trunk@50932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-03 09:41:58 +00:00
Sergey Biryukov
af7a04318d
Twenty Twenty: Add missing documentation for some filters.
...
Add missing `@since` tags for some functions.
Correct alignment of some `@param` tags.
Follow-up to [46271], [46278], [51304].
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/trunk@51322
git-svn-id: http://core.svn.wordpress.org/trunk@50931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-03 09:14:58 +00:00
Sergey Biryukov
d0c596c992
Twenty Twenty-One: Add missing documentation for some filters.
...
Add missing `@since` tags for some functions.
Follow-up to [49216], [49220], [49854], [51294].
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/trunk@51304
git-svn-id: http://core.svn.wordpress.org/trunk@50913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 08:57:57 +00:00
desrosj
a54727d936
Twenty Twenty-One: Ensure the dropdown arrow displays for <select>
elements when focused.
...
Props isabel_brison, zieladam, poena.
Fixes #53560 .
Built from https://develop.svn.wordpress.org/trunk@51296
git-svn-id: http://core.svn.wordpress.org/trunk@50905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-01 19:55:58 +00:00
Sergey Biryukov
61b5311c57
Twenty Twenty-One: Improve documentation per the documentation standards:
...
* Remove unnecessary `@access` tags that were previously removed from core.
* Remove an empty line between `@param` and `@return` tags.
* Correct alignment of `@param` tags.
Follow-up to [41161], [41162], [41168], [49216], [49220].
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/trunk@51294
git-svn-id: http://core.svn.wordpress.org/trunk@50903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-01 12:59:57 +00:00
Sergey Biryukov
c804143db6
Twenty Seventeen: Avoid JS errors when displaying legacy widgets.
...
Make sure the `$sidebar` variable is defined and has at least one entry in the array, before adding the `.below-entry-meta` class to elements below the entry meta.
Previously, the theme expected sidebar markup to exist on the page if sidebars are defined, but that markup is missing since only the widget itself and headers/footers of the page are loaded in the iframe used to display legacy widgets (widgets added prior to WordPress 5.8).
Props Clorith, Boniu91, desrosj.
Fixes #53512 .
Built from https://develop.svn.wordpress.org/trunk@51257
git-svn-id: http://core.svn.wordpress.org/trunk@50866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-29 12:57:56 +00:00
desrosj
fe2bd634e4
Twenty Twenty-One: Ensure Duotone images are displayed correctly in Dark Mode.
...
This reduces the specificity of the CSS selector applying a dimming effect to images so that the new Duotone feature is properly applied to images.
Props walbo.
Fixes #53531 .
Built from https://develop.svn.wordpress.org/trunk@51253
git-svn-id: http://core.svn.wordpress.org/trunk@50862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-28 23:40:59 +00:00
desrosj
fe473ccdee
Twenty Twenty-One: Use the theme version when enqueueing theme assets.
...
This avoids having to interact with the filesystem and ensures browser and proxy caches are only cleared when the file is actually updated.
Props peterwilsoncc, ryelle, aristath, SergeyBiryukov.
Fixes #53502 .
Built from https://develop.svn.wordpress.org/trunk@51236
git-svn-id: http://core.svn.wordpress.org/trunk@50845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-25 13:37:57 +00:00
ryelle
1a7033e75f
Twenty Twenty-One: Add spacing around Query block when there is a background color.
...
Props scruffian, desrosj, poena.
See #53398 .
Built from https://develop.svn.wordpress.org/trunk@51233
git-svn-id: http://core.svn.wordpress.org/trunk@50842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-25 01:48:57 +00:00
desrosj
2f063a72f2
Twenty Twenty: Remove extra margin within the Query Loop block.
...
Props ryelle, Clorith.
See #53482 .
Built from https://develop.svn.wordpress.org/trunk@51231
git-svn-id: http://core.svn.wordpress.org/trunk@50840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-24 23:22:58 +00:00
ryelle
0638de4c60
Twenty Nineteen: Update margins on full- and wide-aligned blocks in the editor.
...
Previously, full width blocks would cause a horizontal scrollbar, and nesting full width blocks would cause the content to be pulled off the screen. Now wide and full width blocks can be nested without any visual issues.
Props aleperez92, Boniu91, onemaggie, hellofromTonya.
Fixes #53428 .
Built from https://develop.svn.wordpress.org/trunk@51209
git-svn-id: http://core.svn.wordpress.org/trunk@50818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 22:15:57 +00:00
ryelle
0a2b52dfeb
Bundled Themes: Improve display of blocks in widget areas.
...
Fixes minor styling issues, mostly font size and spacing, in blocks used in widget areas. Changes made to Twenty Ten, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty-One.
Props noisysocks, sumaiyasiddika, danieldudzic, scruffian, jffng.
Fixes #53422 .
Built from https://develop.svn.wordpress.org/trunk@51205
git-svn-id: http://core.svn.wordpress.org/trunk@50814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 20:14:59 +00:00
ryelle
8a11188d0f
Twenty Twenty-One: Add margins around content in Post Template block.
...
Props desrosj, joen.
See #53389 , #53398 .
Built from https://develop.svn.wordpress.org/trunk@51201
git-svn-id: http://core.svn.wordpress.org/trunk@50810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 16:55:58 +00:00
desrosj
52e1e2cc2f
Twenty Thirteen: Improve the display of the Query Loop block.
...
This fixes an issue where Query Loop blocks were displayed with list bullets and extra `padding-left`.
Props AlePerez92, scruffian, ryelle.
Fixes #53438 .
Built from https://develop.svn.wordpress.org/trunk@51192
git-svn-id: http://core.svn.wordpress.org/trunk@50801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-21 23:39:56 +00:00
Sergey Biryukov
4811dad603
I18N: Use consistent pattern for placeholder references in translator comments for some bundled theme strings.
...
Follow-up to [42827], [44562], [50234].
See #52628 .
Built from https://develop.svn.wordpress.org/trunk@51157
git-svn-id: http://core.svn.wordpress.org/trunk@50766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-15 15:38:57 +00:00
Sergey Biryukov
aed608b98c
Coding Standards: Remove a one-time $message
variable in WordPress version requirement notices for bundled themes.
...
This makes the formatting of these messages more consistent.
Follow-up to [23816], [51154].
See #52627 .
Built from https://develop.svn.wordpress.org/trunk@51155
git-svn-id: http://core.svn.wordpress.org/trunk@50764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-15 15:24:58 +00:00
ryelle
8ace500967
Twenty Thirteen: Add "No Shadow" style to button block.
...
This creates a new block style without a shadow, and fixes colors on outline buttons.
Props melchoyce, kjellr, scruffian.
Fixes #51223 .
Built from https://develop.svn.wordpress.org/trunk@51110
git-svn-id: http://core.svn.wordpress.org/trunk@50719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 20:37:58 +00:00
ryelle
ba5e7a0fb9
Bundled Themes: Introduce block patterns for Twenty Ten.
...
Props beafialho, kjellr, melchoyce, danieldudzic, onemaggie.
Fixes #51107 .
Built from https://develop.svn.wordpress.org/trunk@51106
git-svn-id: http://core.svn.wordpress.org/trunk@50715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 18:53:59 +00:00
ryelle
ecc13d3de2
Bundled Themes: Introduce block patterns for Twenty Eleven.
...
Props beafialho, kjellr, melchoyce, audrasjb.
Fixes #51106 .
Built from https://develop.svn.wordpress.org/trunk@51103
git-svn-id: http://core.svn.wordpress.org/trunk@50712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 18:03:59 +00:00
desrosj
a44c69354d
Twenty Twenty: Regenerate the RTL editor stylesheet.
...
This applies the change made in [51095] to the RTL stylesheet.
See #50120 .
Built from https://develop.svn.wordpress.org/trunk@51100
git-svn-id: http://core.svn.wordpress.org/trunk@50709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 17:28:57 +00:00
desrosj
2f76f3279b
Build/Test Tools: Update devDependencies
for bundled themes.
...
This applies several minor updates bring `devDependencies` to their latest versions in Twenty Twenty-One, Twenty Twenty, and Twenty Nineteen.
Several other packages are also having their versions bumped as a result of running `npm audit fix`.
See #52624 .
Built from https://develop.svn.wordpress.org/trunk@51099
git-svn-id: http://core.svn.wordpress.org/trunk@50708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 17:25:57 +00:00
ryelle
bb21c738ee
Twenty Nineteen: Set a default color for button links in the editor.
...
Props mikejolley, poena, boniu91.
Fixes #52555 .
Built from https://develop.svn.wordpress.org/trunk@51098
git-svn-id: http://core.svn.wordpress.org/trunk@50707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 17:21:59 +00:00
ryelle
ebb9bdc7ca
Twenty Nineteen: Fix pullquote styling in editor when block has alignment.
...
Props devnel, sabernhardt.
Fixes #53112 .
Built from https://develop.svn.wordpress.org/trunk@51096
git-svn-id: http://core.svn.wordpress.org/trunk@50705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 16:50:57 +00:00
ryelle
f512feabe0
Twenty Twenty: Ensure custom primary color is applied to text in the editor.
...
Update the specificity of the custom CSS to match the editor styles. This overrides the default primary color with the selected custom color, matching the frontend display.
Props sabernhardt, notlaura.
Fixes #50120 .
Built from https://develop.svn.wordpress.org/trunk@51095
git-svn-id: http://core.svn.wordpress.org/trunk@50704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 15:06:58 +00:00
noisysocks
bbc2d09a9f
Make new WordPress installations use blocks in widget areas instead of widgets
...
Modifies `wp_install_defaults()` so that when you install a new WordPress site you
have block in your widget areas, not widgets.
Fixes #53324 .
Props isabel_brison, hellofromtonya, andraganescu.
Built from https://develop.svn.wordpress.org/trunk@51088
git-svn-id: http://core.svn.wordpress.org/trunk@50697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 01:55:57 +00:00
ryelle
eaea2f3b45
Twenty Twenty-One: Check for navigation element before using it.
...
This prevents a javascript error in case the primary navigation has been removed, for example in a child theme.
Props sushmak.
Fixes #52773 .
Built from https://develop.svn.wordpress.org/trunk@51072
git-svn-id: http://core.svn.wordpress.org/trunk@50681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-04 17:08:00 +00:00
ryelle
086edc3d12
Bundled Themes: Introduce block patterns for Twenty Fourteen.
...
Props beafialho, kjellr, melchoyce, onemaggie, poena, jffng, jeffikus.
Fixes #51103 .
Built from https://develop.svn.wordpress.org/trunk@51045
git-svn-id: http://core.svn.wordpress.org/trunk@50654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-28 18:17:59 +00:00
ryelle
1cef3d1812
Bundled Themes: Introduce block patterns for Twenty Fifteen.
...
Props melchoyce, kjellr, onemaggie.
Fixes #51102 .
Built from https://develop.svn.wordpress.org/trunk@51043
git-svn-id: http://core.svn.wordpress.org/trunk@50652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-28 17:21:05 +00:00
Sergey Biryukov
1b68f58b6d
Bundled Themes: Update the "Tested up to" value.
...
"Tested up to" is not displayed on the theme directory or within the WordPress dashboard, but should be updated to be accurate for anyone reading the theme's source code.
Props akabarikalpesh, francina, mukesh27.
Fixes #53276 .
Built from https://develop.svn.wordpress.org/trunk@51042
git-svn-id: http://core.svn.wordpress.org/trunk@50651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-27 20:44:57 +00:00
ryelle
4995a09ba2
Twenty Thirteen: Fix missing translations in block patterns, add image credits.
...
Props audrasjb, melchoyce.
Follow-up to [51012].
Fixes #51104 .
Built from https://develop.svn.wordpress.org/trunk@51034
git-svn-id: http://core.svn.wordpress.org/trunk@50643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-26 16:55:57 +00:00
ryelle
3faec7852e
Bundled Themes: Introduce block patterns for Twenty Twelve.
...
Props beafialho, kjellr, melchoyce, onemaggie.
Fixes #51105 .
Built from https://develop.svn.wordpress.org/trunk@51033
git-svn-id: http://core.svn.wordpress.org/trunk@50642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-26 16:39:58 +00:00
ryelle
d8b8ceb4d3
Bundled Themes: Introduce block patterns for Twenty Thirteen.
...
Props joen, melchoyce, kjellr, onemaggie.
Fixes #51104 .
Built from https://develop.svn.wordpress.org/trunk@51012
git-svn-id: http://core.svn.wordpress.org/trunk@50621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-25 20:26:59 +00:00
desrosj
0a75462702
Twenty Twenty: Hide some elements for print that are not useful in that context.
...
This adds the comment count, previous/next posts navigation, and category link list to the list of elements hidden from the print context.
Props kjellr, hareesh-pillai, poena.
Fixes #50433 .
Built from https://develop.svn.wordpress.org/trunk@50976
git-svn-id: http://core.svn.wordpress.org/trunk@50585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-24 18:41:55 +00:00
desrosj
5132f704d4
Twenty Twenty-One: Re-add px
unit to the admin bar height custom property.
...
The `px` unit added in [50388] to prevent invalid values when using `calc` functions was inadvertently removed in [50972].
This re-adds the unit to ensure the issue reported in #52564 remains fixed. The same stylelint rule adjustment made in [50388] to `.stylelintrc-css.json` has also been copied over to `stylelintrc.json` file, which is the configuration file used when linting `.scss` files.
Props ocean90.
See #52624 , #52564 .
Built from https://develop.svn.wordpress.org/trunk@50975
git-svn-id: http://core.svn.wordpress.org/trunk@50584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-24 18:33:59 +00:00
desrosj
cb5943f263
Bundled Themes: Update devDependencies
for default themes.
...
This updates several `devDependencies` to their latest versions for the Twenty Twenty and Twenty Nineteen themes.
See #52624 .
Built from https://develop.svn.wordpress.org/trunk@50974
git-svn-id: http://core.svn.wordpress.org/trunk@50583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-24 18:10:00 +00:00
desrosj
a537de7b00
Twenty Twenty-One: Update devDependencies
.
...
This updates several `devDependencies` to their latest versions.
The deprecated `stylelint-config-wordpress` package has also been replaced with the `@wordpress/stylelint-config` package.
This commit also includes several minor adjustments to `.scss` files to decrease the number of coding standards warnings produced when running `lint:scss`.
See #52624 .
Built from https://develop.svn.wordpress.org/trunk@50972
git-svn-id: http://core.svn.wordpress.org/trunk@50581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-24 15:37:55 +00:00
davidbaumwald
77cf4ea88d
Twenty Twenty: Correct label
attribute references to aria_label
in get_search_form
.
...
In the bundled Twenty Twenty theme, a `label` argument was passed to `get_search_form` but used as the `aria_label` on the form. This change updates the argument name to `aria_label` and maintains backwards compatibility for usage of the original `label` argument.
Props poena, sabernhardt, ipulc2, kishanjasani, mukesh27.
Fixes #51877 .
Built from https://develop.svn.wordpress.org/trunk@50933
git-svn-id: http://core.svn.wordpress.org/trunk@50542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-19 18:39:56 +00:00
Sergey Biryukov
f4631a98f5
Twenty Nineteen: Update theme information in the package.json
file.
...
This removes references to the archived Git repository and updates the URLs to point to the theme's WordPress.org Theme Directory URL and Trac.
Follow-up to [50924].
See #53196 .
Built from https://develop.svn.wordpress.org/trunk@50925
git-svn-id: http://core.svn.wordpress.org/trunk@50534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-18 12:49:01 +00:00
Sergey Biryukov
5343283f66
Twenty Twenty: Update theme information in the package.json
file.
...
This removes references to the archived Git repository and updates the URLs to point to the theme's WordPress.org Theme Directory URL and Trac.
Props arkrs, desrosj, mukesh27.
Fixes #53196 .
Built from https://develop.svn.wordpress.org/trunk@50924
git-svn-id: http://core.svn.wordpress.org/trunk@50533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-18 12:47:05 +00:00
davidbaumwald
2e762721b1
Bundled Theme: Update twenty_twenty_one_password_form
function to actually use a $post
parameter.
...
The `twentytwentyone` filtered `the_password_form` with a `twenty_twenty_one_password_form` callback that, by default, passed only one parameter that was assumed to be the post or post ID. However, the first parameter for `the_password_form` is the filtered output value. This fix updates both the filter reference and callback to use two parameters: `$output` and `$post`.
Props burhandodhy, mukesh27.
Fixes #53091 .
Built from https://develop.svn.wordpress.org/trunk@50841
git-svn-id: http://core.svn.wordpress.org/trunk@50450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-11 18:26:01 +00:00
Sergey Biryukov
6f2fa9ef42
Twenty Twenty-One: Fix "Opening PHP tag must be on a line by itself" WPCS issue.
...
Follow-up to [50802].
See #52938 .
Built from https://develop.svn.wordpress.org/trunk@50806
git-svn-id: http://core.svn.wordpress.org/trunk@50415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-03 14:35:02 +00:00
Sergey Biryukov
85d526c5d0
Twenty Twenty-One: Display page title as the H1 heading when a static page is selected as the "Posts page".
...
This ensures that the heading represents the content of the page. Previously, the site title was displayed instead.
Props sabernhardt, justinahinon, rianrietveld, mukesh27, francina, audrasjb, Boniu91.
Fixes #52938 .
Built from https://develop.svn.wordpress.org/trunk@50802
git-svn-id: http://core.svn.wordpress.org/trunk@50411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-01 18:14:05 +00:00
Peter Wilson
793da8732f
Bundled Themes: Bump versions for WordPress 5.7.1.
...
Twenty Twenty-One: Bump version to 1.3
Twenty Seventeen: Bump version to 2.7
Props desrosj, mukesh27, peterwilsoncc.
Fixes #52859 .
Built from https://develop.svn.wordpress.org/trunk@50708
git-svn-id: http://core.svn.wordpress.org/trunk@50317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-13 23:49:06 +00:00
desrosj
94dae2b608
Bundled Themes: Update the “Tested up to” value.
...
“Tested up to” is not displayed on the theme directory or within the WordPress dashboard, but should be updated to be accurate for anyone reading the theme’s source code.
Follow up to [50508].
Fixes #52859 .
Built from https://develop.svn.wordpress.org/trunk@50669
git-svn-id: http://core.svn.wordpress.org/trunk@50281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 14:43:08 +00:00
desrosj
cfe859c1f3
Twenty Twenty-One: Rebuild IE specific editor stylesheet.
...
This was not updated to include the changes from [50493].
Fixes #52981 . See #52702 .
Built from https://develop.svn.wordpress.org/trunk@50667
git-svn-id: http://core.svn.wordpress.org/trunk@50279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 14:12:05 +00:00
desrosj
caa5abc6c1
Build/Test Tools: Update dependencies in default themes.
...
This updates several dependencies in the Twenty Nineteen, Twenty Twenty, and Twenty Twenty-One default themes.
See #52624 .
Built from https://develop.svn.wordpress.org/trunk@50666
git-svn-id: http://core.svn.wordpress.org/trunk@50278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-06 14:07:07 +00:00
desrosj
755882578e
Twenty Twelve: Change theme version back to 3.3
.
...
Because the changes in Twenty Twelve did not impact site look or functionality, version 3.4 of Twenty Twelve was not released in coordination with WordPress 5.7.
This reverts the portion of [50508] relevant to Twenty Twelve, changing the version back to 3.3 so that version 3.4 is not skipped accidentally when there are changes that should be released.
See #52704 .
Built from https://develop.svn.wordpress.org/trunk@50596
git-svn-id: http://core.svn.wordpress.org/trunk@50209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-26 15:28:05 +00:00
Sergey Biryukov
f9cc35ebad
Twenty Seventeen: Remove extra space around post editor.
...
The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area.
Follow-up to [50465].
Props joseeyoast, audrasjb.
Fixes #52816 .
Built from https://develop.svn.wordpress.org/trunk@50534
git-svn-id: http://core.svn.wordpress.org/trunk@50147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-15 13:26:06 +00:00
desrosj
e2a19b5352
Bundled Themes: Bump theme version numbers for WordPres 5.7.
...
This updates all new default themes to new versions, which will be released shortly after WordPress 5.7. The new versions are:
- Twenty Twenty-One: 1.2
- Twenty Twenty: 1.7
- Twenty Nineteen: 2.0
- Twenty Seventeen: 2.6
- Twenty Sixteen: 2.4
- Twenty Fifteen: 2.9
- Twenty Fourteen: 3.1
- Twenty Thirteen: 3.3
- Twenty Twelve: 3.4
- Twenty Eleven: 3.7
- Twenty Ten: 3.3
Fixes #52704 .
Built from https://develop.svn.wordpress.org/trunk@50507
git-svn-id: http://core.svn.wordpress.org/trunk@50120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-08 14:17:08 +00:00
desrosj
d3324379f9
Twenty Twenty-One: Make text readable when dark background is selected for the Media & Text block.
...
This change ensures that the text in the Media & Text block is readable when dark background colors are selected.
This is a regression that was introduced in [49987].
Props hellofromTonya, poena, paaljoachim, ryelle.
Fixes #52702 .
Built from https://develop.svn.wordpress.org/trunk@50493
git-svn-id: http://core.svn.wordpress.org/trunk@50106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-04 16:57:05 +00:00
ryelle
c2f6f53b9b
Twenty Twenty-One: Correct inner container background color for Cover Blocks.
...
Adjust the background color palette rules so they don't show up on inner containers when they're not supposed to:
- When an inner container block is present, it only applies them to direct children of the block with the background color assigned.
- Since the background color should only be applied to the Cover block's overlay, not to the inner container, it opts that specific block out of this rule.
Props dianeco, kjellr, paaljoachim.
Fixes #52676 .
Built from https://develop.svn.wordpress.org/trunk@50466
git-svn-id: http://core.svn.wordpress.org/trunk@50077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-01 23:26:04 +00:00
ryelle
75d57e1379
Twenty Fifteen & Twenty Sixteen: Remove extra space around post editor.
...
The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area.
Props antonlukin, paaljoachim, felipeelia.
Fixes #52646 .
Built from https://develop.svn.wordpress.org/trunk@50465
git-svn-id: http://core.svn.wordpress.org/trunk@50076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-01 21:58:08 +00:00
Adam Silverstein
3e6928a370
Twenty Twenty-One: Improve transparent PNG logo visible on focus.
...
This ensures a transparent logo remains visible while focused. Also cleans up dark mode CSS, consolidating styles and removing overrides that are no longer needed.
Follow up to [50154].
Props poena, sabernhardt, ryelle.
Fixes #52257 .
Built from https://develop.svn.wordpress.org/trunk@50423
git-svn-id: http://core.svn.wordpress.org/trunk@50034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-23 20:17:04 +00:00
ryelle
afc3958ab1
Twenty Twenty-One: Add the px unit to the admin bar height custom property.
...
The admin bar height custom property is used in `calc` functions, which require consistent unit use, even when the value is zero. A unitless value returns an invalid value for the "height" property, where this variable is used. This also changes the stylelint rule in the theme to allow zero values with a unit, just in custom properties.
Props nico23.
Fixes #52564 .
Built from https://develop.svn.wordpress.org/trunk@50388
git-svn-id: http://core.svn.wordpress.org/trunk@49999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-18 20:46:09 +00:00
Sergey Biryukov
c4da0c6fc2
Twenty Nineteen: Add some space between the cookies checkbox and label in comment form.
...
Props sabernhardt, garrett-eclipse, mukesh27, monikarao, Boniu91.
Fixes #46601 .
Built from https://develop.svn.wordpress.org/trunk@50365
git-svn-id: http://core.svn.wordpress.org/trunk@49976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 20:15:05 +00:00
ryelle
455bc37c68
Twenty Twenty-One: Remove background color from Social Links the dark gray style.
...
This block variation doesn't support custom colors, so allowing a background color leads to a mismatch between frontend and editor styles.
Props poena, paaljoachim, audrasjb.
Fixes #52499 .
Built from https://develop.svn.wordpress.org/trunk@50364
git-svn-id: http://core.svn.wordpress.org/trunk@49975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 20:12:02 +00:00
Sergey Biryukov
070dcd980b
Twenty Ten: Correct the fallback to the default header if the featured image width is narrower than the twentyten_header_image_width
setting.
...
Follow-up to [45581].
Props sabernhardt, macmanx, audrasjb.
Fixes #52516 .
Built from https://develop.svn.wordpress.org/trunk@50361
git-svn-id: http://core.svn.wordpress.org/trunk@49972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:28:04 +00:00
Sergey Biryukov
9aaa579f0d
Twenty Eleven: Correct the fallback to the default header if the featured image width is narrower than the twentyeleven_header_image_width
setting.
...
Follow-up to [45581].
Props sabernhardt, macmanx, audrasjb.
See #52516 .
Built from https://develop.svn.wordpress.org/trunk@50360
git-svn-id: http://core.svn.wordpress.org/trunk@49971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:26:06 +00:00
Sergey Biryukov
95094becee
Twenty Twenty: Make sure the RTL list styles are preserved after npm run build
.
...
Adjust the padding value for better consistency.
Props desrosj, sabernhardt, ryelle, mukesh27.
Fixes #52401 .
Built from https://develop.svn.wordpress.org/trunk@50359
git-svn-id: http://core.svn.wordpress.org/trunk@49970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 19:11:05 +00:00
ryelle
5f56591fe5
Bundled Themes: Fix alignment and styles for quote, verse, and code blocks.
...
Updates older themes to fix alignment, spacing, and font issues to better match the frontend display. Applies to themes: Twenty Eleven, Twenty Thirteen, Twenty Fourteen, Twenty Sixteen, Twenty Seventeen, and Twenty Twenty.
Props burnuser, talldanwp, cristinasoponar, poena, kjellr
Fixes #52009 .
Built from https://develop.svn.wordpress.org/trunk@50358
git-svn-id: http://core.svn.wordpress.org/trunk@49969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 18:59:04 +00:00
Peter Wilson
147852757c
Twenty Twenty-One: Display inline-images inline.
...
Remove `display: block` property from inline images and display them center aligned vertically.
Props jeroenrotty, melchoyce, mukesh27, paaljoachim, poena, talldanwp.
Fixes #52287 .
Built from https://develop.svn.wordpress.org/trunk@50351
git-svn-id: http://core.svn.wordpress.org/trunk@49962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-16 02:26:08 +00:00
Peter Wilson
49f0fc9e53
Twenty Twenty-One: Match bullets between editor and frontend.
...
Change bullet style on frontend nested unordered lists to `circle` to match the editor styles.
Props poena, mukesh27, mahfuz01, tejwanihemant.
Fixes #52412 .
Built from https://develop.svn.wordpress.org/trunk@50350
git-svn-id: http://core.svn.wordpress.org/trunk@49961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-15 23:52:04 +00:00
ryelle
0e7386521b
Bundled Themes: Support font size option for code block.
...
Adds font-size support to Twenty Fourteen, Twenty Sixteen, and Twenty Seventeen.
Props poena, paaljoachim, peterwilsoncc.
Fixes #52431 .
Built from https://develop.svn.wordpress.org/trunk@50347
git-svn-id: http://core.svn.wordpress.org/trunk@49958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-15 18:56:04 +00:00
ryelle
ec38e1434a
Twenty Thirteen: Fix alignment of child blocks within the Cover block.
...
Props kjellr, melchoyce.
Fixes #51224 .
Built from https://develop.svn.wordpress.org/trunk@50346
git-svn-id: http://core.svn.wordpress.org/trunk@49957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-15 18:33:05 +00:00
Peter Wilson
95fb827816
Twenty Twenty-One: Correct accent marks in block pattern alt text.
...
Correct accents in "Roses Trémières" for block patterns and starter content.
Props audrasjb, geekzebre, kjellr, SergeyBiryukov.
Fixes #52500 .
Built from https://develop.svn.wordpress.org/trunk@50293
git-svn-id: http://core.svn.wordpress.org/trunk@49938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-12 00:03:04 +00:00
Sergey Biryukov
8212925c11
Twenty Twenty: Make ordered list styling in classic editor match the front-end style.
...
Props sabernhardt, sebastienserre, hareesh-pillai.
Fixes #50454 .
Built from https://develop.svn.wordpress.org/trunk@50275
git-svn-id: http://core.svn.wordpress.org/trunk@49920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 17:54:04 +00:00
Sergey Biryukov
8bd0709dba
Twenty Twenty-One: Use correct value for the global line-height
CSS variable.
...
Props acerempel, mukesh27, dd32, poena.
Fixes #52477 .
Built from https://develop.svn.wordpress.org/trunk@50273
git-svn-id: http://core.svn.wordpress.org/trunk@49918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 17:10:05 +00:00
desrosj
34987fe903
Twenty Twenty-One: Prevent Dark Mode related JavaScript error.
...
This prevents an `Uncaught TypeError` in the block editor when scrolling caused by the absence of a `#dark-mode-toggler` element.
Props ocean90, mukesh27, justinahinon.
Fixes #52473 .
Built from https://develop.svn.wordpress.org/trunk@50269
git-svn-id: http://core.svn.wordpress.org/trunk@49914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 14:56:04 +00:00
Peter Wilson
98b855ed94
Twenty Twenty-One: Update editor styles of search block.
...
Update editor styles to more closely match the front-end following upstream changes.
Props poena, paaljoachim, hellofromTonya.
Fixes #52433 .
Built from https://develop.svn.wordpress.org/trunk@50262
git-svn-id: http://core.svn.wordpress.org/trunk@49907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 03:55:05 +00:00
Peter Wilson
2ffff78f51
Twenty Twenty-One: Adapt vertical buttons to text length.
...
Display vertically aligned buttons as inline elements.
Props poena, paaljoachim, hellofromTonya, jeroenrotty, rolfsiebers.
Fixes #52432 .
Built from https://develop.svn.wordpress.org/trunk@50261
git-svn-id: http://core.svn.wordpress.org/trunk@49906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 03:44:06 +00:00
Peter Wilson
165413db2b
Twenty Twenty-One: Support font size option for code block.
...
Props poena, paaljoachim, hellofromTonya.
See #52431 .
Built from https://develop.svn.wordpress.org/trunk@50260
git-svn-id: http://core.svn.wordpress.org/trunk@49905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-09 03:24:05 +00:00
Sergey Biryukov
b88325dbc6
I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.
...
Adjust some newly introduced strings to remove unnecessary numbered placeholders for consistency.
Follow-up to [42827].
See #51800 .
Built from https://develop.svn.wordpress.org/trunk@50234
git-svn-id: http://core.svn.wordpress.org/trunk@49895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-07 12:44:04 +00:00
Sergey Biryukov
48469c6a8f
Twenty Twenty-One: Capitalize translator comments consistently.
...
Follow-up to [45932].
See #51800 .
Built from https://develop.svn.wordpress.org/trunk@50233
git-svn-id: http://core.svn.wordpress.org/trunk@49894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-07 12:28:08 +00:00
desrosj
2896790d57
Twenty Twenty-One: Fix wrapping for long text within comments.
...
This ensures that word wrapping occurs within comment content.
Props mayankmajeji, audrasjb.
Fixes #52380 .
Built from https://develop.svn.wordpress.org/trunk@50158
git-svn-id: http://core.svn.wordpress.org/trunk@49837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-02 19:40:04 +00:00
antpb
ea3a1d782a
Twenty Twenty-One: Make transparent PNG logo visible on focus.
...
This ensures a transparent logo remains visible while focused.
Props bduclos, poena, paaljoachim, hellofromTonya.
Fixes #52257 .
Built from https://develop.svn.wordpress.org/trunk@50154
git-svn-id: http://core.svn.wordpress.org/trunk@49833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-02 18:29:05 +00:00
Sergey Biryukov
651aeebe67
Twenty Twenty-One: Correct filter name in twenty_twenty_one_get_starter_content()
DocBlock.
...
Props sabernhardt.
Fixes #52410 .
Built from https://develop.svn.wordpress.org/trunk@50118
git-svn-id: http://core.svn.wordpress.org/trunk@49797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-02-01 11:49:05 +00:00
desrosj
f35396e9b4
Twenty Nineteen: Update several devDependencies
.
...
This updates the following dependencies:
- `@wordpress/browserslist-config` from `2.7.0` to `3.0.0`.
- `autoprefixer` from `9.8.5` to `9.8.6`.
- `node-sass` from `4.14.1` to `5.0.0`.
- `postcss-cli` from `7.1.1` to `7.1.2`.
- `postcss-focus-within` from `3.0.0` to `4.0.0`.
- `rtlcss` from `2.5.0` to `2.6.2`.
There are no changes after running `build`.
See #51801 .
Built from https://develop.svn.wordpress.org/trunk@50081
git-svn-id: http://core.svn.wordpress.org/trunk@49781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 21:11:58 +00:00
desrosj
fb3cd7404f
Twenty Nineteen: Update the RTL stylesheet with the block-patterns
tag.
...
Rebuilding the RTL stylesheet was missed in [49585].
See #51098 , #51099 .
Built from https://develop.svn.wordpress.org/trunk@50080
git-svn-id: http://core.svn.wordpress.org/trunk@49780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 21:08:02 +00:00
desrosj
5dc1f1ff8a
Twenty Twenty: Update @wordpress/scripts
to the latest version.
...
See #51801 .
Built from https://develop.svn.wordpress.org/trunk@50079
git-svn-id: http://core.svn.wordpress.org/trunk@49779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 20:45:58 +00:00
desrosj
eac269decd
Twenty Twenty: Update several dependencies.
...
This updates the following packages:
- `@wordpress/browserslist-config` from `2.6.0` to `2.7.0`.
- `autoprefixer` from `9.6.1` to `9.8.6`.
- `concurrently` from `5.2.0` to `5.3.0`.
- `postcss-cli` from `7.1.1` to `7.1.2`.
- `rtlcss` from `2.5.0` to `2.6.2`.
See #51801 .
Built from https://develop.svn.wordpress.org/trunk@50077
git-svn-id: http://core.svn.wordpress.org/trunk@49777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 20:26:59 +00:00
desrosj
f3b62c5a27
Twenty Twenty: Update the RTL stylesheet with the block-patterns
tag.
...
Rebuilding the RTL stylesheet was missed in [49585].
See #51098 , #51099 .
Built from https://develop.svn.wordpress.org/trunk@50076
git-svn-id: http://core.svn.wordpress.org/trunk@49776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 20:10:01 +00:00
desrosj
1a27e15bb2
Twenty Twenty-One: Update several devDependencies
.
...
This updates the following dependencies:
- `@wordpress/browserslist-confg` from `2.7.0` to `3.0.0`.
- `@wordpress/eslint-plugin` from `7.3.0` to `8.0.1`.
- `sass` from `1.29.0` to `1.32.5`.
- `stylelint` from `13.8.0` to `13.9.0`
There are no changes after running `build`.
See #51801 .
Built from https://develop.svn.wordpress.org/trunk@50073
git-svn-id: http://core.svn.wordpress.org/trunk@49774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-29 19:44:03 +00:00
joedolson
830d3942a0
Twenty Twenty: Remove aria-expanded on search modal close button.
...
The Twenty Twenty search modal uses aria-expanded correctly on the Search button, but toggles the aria-expanded value on the 'close' button. The close button is a different control, however, so the attribute value toggling is uneven. The close button does not toggle any behavior; it only closes a control that has already been opened.
Props alexstine, audrasjb
Fixes #52355
Built from https://develop.svn.wordpress.org/trunk@50033
git-svn-id: http://core.svn.wordpress.org/trunk@49734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-27 21:32:58 +00:00
Sergey Biryukov
11ea669f7f
Twenty Twenty-One: Correct colors for the Menu button.
...
As per design, the background should be transparent and the text should be dark grey, not vice versa.
Follow-up to [49987].
Props poena.
Fixes #52374 . See #51927 .
Built from https://develop.svn.wordpress.org/trunk@50026
git-svn-id: http://core.svn.wordpress.org/trunk@49727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 18:59:57 +00:00
Sergey Biryukov
9f12d7f575
External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes.
...
To be able to disable jQuery Migrate as step 3 of updating the jQuery version shipped with WordPress, all `JQMIGRATE` warnings in the browser console will have to be addressed.
This includes many minor adjustments to a wide array of core files.
Follow-up to:
* Step 1: Disabling jQuery Migrate 1.4.1 in WordPress 5.5: [48323], [48324]
* Step 2: Updating jQuery to 3.5.1 and adding jQuery Migrate 3.3.x in WordPress 5.6: [49101], [49338], [49615], [49649]
Props Clorith, azaozz.
See #51812 .
Built from https://develop.svn.wordpress.org/trunk@50001
git-svn-id: http://core.svn.wordpress.org/trunk@49702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-22 12:32:03 +00:00
Sergey Biryukov
4e8ff35289
Twenty Twenty-One: Consistently use Yoda condition for display_title_and_tagline
setting.
...
Props mukesh27.
Fixes #52329 .
Built from https://develop.svn.wordpress.org/trunk@49994
git-svn-id: http://core.svn.wordpress.org/trunk@49695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-21 12:16:59 +00:00
Sergey Biryukov
334c279d5b
Twenty Twenty-One: Add missing HTML comments for </header>
tag.
...
This brings some consistency to closing `</header>` tags in theme templates and ensures they all have an associated HTML comment.
Props freewebmentor, mukesh27.
Fixes #52328 .
Built from https://develop.svn.wordpress.org/trunk@49993
git-svn-id: http://core.svn.wordpress.org/trunk@49694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-21 12:10:01 +00:00
Sergey Biryukov
a0db82e9c8
Twenty Twenty-One: Add missing styles for <button>
element.
...
Props poena, slaFFik.
Fixes #52029 .
Built from https://develop.svn.wordpress.org/trunk@49988
git-svn-id: http://core.svn.wordpress.org/trunk@49689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-20 07:05:58 +00:00
Sergey Biryukov
b3bb99b3d7
Twenty Twenty-One: Clean up Button styles.
...
This change restructures the Button element styles for better a11y and expected color behaviors. Here what has changed:
- The `button-style()` mixin is now the ''single source or truth'' for how Button should look site-wide.
- Button Block, File Block, and Search form Blocks all rely on this one mixin.
- The same styles is also applied to the `<button>` element which appears in widgets, the 404 search form and comments form.
- Improves expected button styles for various conditions and contexts as follows:
- User color palette selections for Buttons are retained regardless of a parent block’s color settings or dark-mode.
- Supports both Default/Filled styles and Outline styles.
- More consistent `:hover` and `:active` styles.
- `:focus` styles are now always visible and legible.
- Adds a `--local-color` color variable to scope color relationships to nested blocks.
- Reduces selectors in `style.css` output.
- 1:1 experience between editor and front end button styles.
- Properly supports Dark-mode.
Props allancole, poena, scruffian, megphillips91.
Fixes #51927 .
Built from https://develop.svn.wordpress.org/trunk@49987
git-svn-id: http://core.svn.wordpress.org/trunk@49688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-20 05:51:02 +00:00
ryelle
524d6bb167
Twenty Twenty-One: Remove duplicate CSS rules.
...
Introduces a new PostCSS plugin, `postcss-discard-duplicates`, which will automatically remove any duplicate CSS rules. All the CSS that is removed shows up again later in the file. This also fixes a bug from `postcss-css-variables`, where media queries are duplicated.
Fixes #52158 .
Props poena.
Built from https://develop.svn.wordpress.org/trunk@49980
git-svn-id: http://core.svn.wordpress.org/trunk@49681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-18 17:53:09 +00:00
Sergey Biryukov
2a5dfab642
Twenty Twenty-One: Remove leftover file from build:rtl
task.
...
The `style-dark-mode.css` file is now in `assets/css/` and has its own `build:dark-rtl` task.
Props yoavf.
Fixes #52293 .
Built from https://develop.svn.wordpress.org/trunk@49960
git-svn-id: http://core.svn.wordpress.org/trunk@49659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-14 12:14:07 +00:00
Sergey Biryukov
de0ff7d845
Twenty Twenty-One: Make sure filtering attachment image attributes only affects front end and not the admin area.
...
Props denisco.
Fixes #52212 .
Built from https://develop.svn.wordpress.org/trunk@49930
git-svn-id: http://core.svn.wordpress.org/trunk@49629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-04 17:45:06 +00:00
Sergey Biryukov
8c8af01d86
Happy New Year!
...
Update copyright year to 2021 in `license.txt` and bundled themes.
Built from https://develop.svn.wordpress.org/trunk@49915
git-svn-id: http://core.svn.wordpress.org/trunk@49614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-01 00:19:07 +00:00
Sergey Biryukov
2818d14fa8
Twenty Twenty-One: Remove extra brackets from :last-child
CSS pseudo-class.
...
Props munyagu, mukesh27, activecoder.
Fixes #52176 .
Built from https://develop.svn.wordpress.org/trunk@49914
git-svn-id: http://core.svn.wordpress.org/trunk@49613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-31 07:38:06 +00:00
Sergey Biryukov
c18ec08dbb
Twenty Nineteen: Correct @since
version for twentynineteen_excerpt_more()
.
...
Follow-up to [49831].
See #46177 .
Built from https://develop.svn.wordpress.org/trunk@49901
git-svn-id: http://core.svn.wordpress.org/trunk@49600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-23 15:05:08 +00:00
desrosj
51ca44d9c7
Bundled Themes: Bump the versions of Twenty Twenty-One and Twenty Nineteen.
...
New versions:
- Twenty Twenty-One: 1.1.
- Twenty Nineteen: 1.9.
Props poena.
Fixes #52160 .
Built from https://develop.svn.wordpress.org/trunk@49873
git-svn-id: http://core.svn.wordpress.org/trunk@49592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 18:19:05 +00:00
desrosj
0111002414
Twenty Nineteen: Add the block-patterns
tag to the appropriate SASS file.
...
This prevents the tag from being removed from `styles.css` when rebuilding the CSS.
Props danfarrow
Fixes #52159 .
Built from https://develop.svn.wordpress.org/trunk@49872
git-svn-id: http://core.svn.wordpress.org/trunk@49591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 18:15:09 +00:00
ryelle
f8e65a20b6
Twenty Twenty-One: Set a maximum width on inputs.
...
Text inputs with a size attribute can end up longer than the screen width on small screens. A max-width of 100% keeps the inputs from breaking out of the container.
Props basscan, kjellr, poena, sabernhardt
Fixes #52083 .
Built from https://develop.svn.wordpress.org/trunk@49870
git-svn-id: http://core.svn.wordpress.org/trunk@49589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 16:53:06 +00:00
desrosj
de18e6c5a2
Twenty Twenty-One: Improve strings found in post navigations for easier translating.
...
This change adjusts strings found within post navigations to ensure translators are provided the full context needed to properly translate.
Props poena, SergeyBiryukov, aristath.
Fixes #52047 .
Built from https://develop.svn.wordpress.org/trunk@49866
git-svn-id: http://core.svn.wordpress.org/trunk@49585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 16:15:06 +00:00
desrosj
b0fe9f059c
Twenty Twenty-One: Only load IE specific polyfills when actually using Internet Exploreer.
...
The `twenty-twenty-one-ie11-polyfills` script now has a `null` source, and the new `twenty-twenty-one-ie11-polyfills-asset` (which points to the actual `polyfills.js` source) will be loaded only if IE is detected by through the use of `wp_get_script_polyfill()`.
Because the original script name remains the same, this change is backwards compatible with any code registering `twenty-twenty-one-id11-polyfills` as a script dependency.
Props poena, ismail.elkorchi, peterwilsoncc
Fixes #52098 .
Built from https://develop.svn.wordpress.org/trunk@49865
git-svn-id: http://core.svn.wordpress.org/trunk@49584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 15:44:08 +00:00
desrosj
c58be3c57e
Twenty Twenty-One: Improve striped table styling in Dark Mode.
...
This change improves the display of table blocks with the “Stripes” style selected.
Previously, the text was not visible in striped rows when using Dark Mode.
Props ryelle, poena, melchoyce, celendesign, audrasjb.
Fixes #52129 .
Built from https://develop.svn.wordpress.org/trunk@49864
git-svn-id: http://core.svn.wordpress.org/trunk@49583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-22 15:02:05 +00:00
desrosj
b8e5751dd1
Twenty Twenty-One: Do not specify loading=“eager”
for single post thumbnails.
...
While `loading=“eager”` is a supported alternative to omitting the attribute entirely, browsers follow the value of this attribute explicitly when specified.
Specifying `eager` would prevent the user from receiving any additional potential benefits implemented at the browser level, such as further mechanisms to automatically decide which elements to lazy-load.
Props flixos90, ryelle, poena.
Fixes #52139 .
Built from https://develop.svn.wordpress.org/trunk@49860
git-svn-id: http://core.svn.wordpress.org/trunk@49579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-21 18:39:03 +00:00
desrosj
55209a7309
Twenty Twenty-One: Allow local anchor links to be used in primary navigation.
...
This adds some JavaScript to detect when an anchor link is clicked within the primary navigation on mobile devices and closes the menu before scrolling to the location on the page.
Props poena, macmanx, t-p.
Fixes #52006 .
Built from https://develop.svn.wordpress.org/trunk@49854
git-svn-id: http://core.svn.wordpress.org/trunk@49573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-21 15:05:08 +00:00
Sergey Biryukov
e4dfced545
Twenty Ten: Correct $post_title
variable name in loop-attachment.php
.
...
Follow-up to [45609] / #47632 .
Props sabernhardt.
Fixes #52121 .
Built from https://develop.svn.wordpress.org/trunk@49840
git-svn-id: http://core.svn.wordpress.org/trunk@49559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-19 20:45:05 +00:00
Sergey Biryukov
08e11dc1e6
Twenty Twenty-One: Clarify a sentence in readme.txt
.
...
Props gkibria69.
Fixes #52120 .
Built from https://develop.svn.wordpress.org/trunk@49838
git-svn-id: http://core.svn.wordpress.org/trunk@49557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-19 20:36:06 +00:00
Sergey Biryukov
fa7e570e2a
Twenty Nineteen: Add "Continue reading" link for post excerpts.
...
This ensures that archive pages have a meaningful link text after the excerpts.
Props metalandcoffee, alex27, sabernhardt, mdrockwell, laurelfulford.
Fixes #46177 .
Built from https://develop.svn.wordpress.org/trunk@49831
git-svn-id: http://core.svn.wordpress.org/trunk@49550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-17 18:21:05 +00:00
desrosj
6daeadb85e
Twenty Twenty-One: Correct @since
inline documentation tags.
...
Previously, `1.0.0` was used for the version. This is inconsistent with the versioning used in the other default themes, which use use X.X and not X.X.X.
This change corrects all `1.0.0` occurrences to `1.0`, and adds the additional context of `Twenty Twenty-One` to avoid confusion with `WordPress 1.0`.
Props SergeyBiryukov, poena.
Fixes #51958 .
Built from https://develop.svn.wordpress.org/trunk@49826
git-svn-id: http://core.svn.wordpress.org/trunk@49545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-17 14:57:07 +00:00
desrosj
66d46430a7
Twenty Twenty-One: Make text within code blocks readable in Dark Mode.
...
This change ensures that the primary text color specific to Dark Mode is used instead of the one specified for normal mode. The latter is not legible in Dark Mode.
Props slaFFik, poena, mukesh27, justinahinon.
Fixes #51985 .
Built from https://develop.svn.wordpress.org/trunk@49825
git-svn-id: http://core.svn.wordpress.org/trunk@49544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-17 14:22:05 +00:00
desrosj
b7a899e8aa
Twenty Twenty-One: Prevent <iframe>
embeds from being too narrow.
...
This fixes an issue where `<iframe>` embeds were being pushed to the side of the screen and compressed to the point of being unusable.
Props helen, mukesh27, poena, thorlentz.
Fixes #52004 .
Built from https://develop.svn.wordpress.org/trunk@49823
git-svn-id: http://core.svn.wordpress.org/trunk@49542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-17 14:05:05 +00:00
Sergey Biryukov
b8f6d41a2c
Twenty Twenty-One: Fix typos in some inline comments.
...
Props manzurahammed, mukesh27.
Fixes #52071 .
Built from https://develop.svn.wordpress.org/trunk@49801
git-svn-id: http://core.svn.wordpress.org/trunk@49524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-15 13:28:06 +00:00
ryelle
da72be5227
Twenty Twenty-One: Bring back PostCSS config.
...
Twenty Twenty-One uses PostCSS to convert the custom properties for Internet Explorer. Without a config file, the postcss command does nothing, causing issues in IE. This brings back the config from GitHub, which replaces all custom properties with the default values.
Props t-p, poena.
Fixes #52040 .
Built from https://develop.svn.wordpress.org/trunk@49800
git-svn-id: http://core.svn.wordpress.org/trunk@49523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-14 16:49:03 +00:00
Sergey Biryukov
71bbd2b166
Twenty Twenty-One: Correct the DocBlock for map-deep-set()
Sass function.
...
Props mukesh27.
Fixes #52064 .
Built from https://develop.svn.wordpress.org/trunk@49799
git-svn-id: http://core.svn.wordpress.org/trunk@49522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-14 15:22:09 +00:00
Sergey Biryukov
9494c5fbee
Twenty Twenty-One: Use a more specific link for Dark Mode instructions.
...
Make both instances of the link translatable, for consistency.
Props engahmeds3ed, justinahinon.
Fixes #52010 .
Built from https://develop.svn.wordpress.org/trunk@49798
git-svn-id: http://core.svn.wordpress.org/trunk@49521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-13 18:40:06 +00:00
Sergey Biryukov
994167b76f
Twenty Twenty-One: Fix typos in some inline comments.
...
Props tanvirul, mukesh27.
Fixes #52042 .
Built from https://develop.svn.wordpress.org/trunk@49795
git-svn-id: http://core.svn.wordpress.org/trunk@49518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-12 15:03:06 +00:00
Sergey Biryukov
4ca3db8c90
Twenty Twenty-One: Correct version in file-header.scss
.
...
Fixes #52044 .
Built from https://develop.svn.wordpress.org/trunk@49794
git-svn-id: http://core.svn.wordpress.org/trunk@49517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-12 14:57:07 +00:00
ryelle
bba3a9d529
Twenty Nineteen: Add images for use in block patterns.
...
The block patterns were added in #51099 , but the images were not included in the commit. This adds the images to the expected folder.
Props transl8or, mukesh27.
Fixes #51996 .
Built from https://develop.svn.wordpress.org/trunk@49793
git-svn-id: http://core.svn.wordpress.org/trunk@49516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-11 16:55:03 +00:00
desrosj
e4066a9af8
Build/Test Tools: Update several NPM packages.
...
These were updated using `npm audit fix`.
See #51801 .
Built from https://develop.svn.wordpress.org/trunk@49791
git-svn-id: http://core.svn.wordpress.org/trunk@49514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-11 14:05:07 +00:00
Sergey Biryukov
29e882c177
Bundled Themes: Bump theme versions ahead of WordPress 5.6.
...
The following theme versions will be released in coordination with WordPress 5.6:
* Twenty Ten: 3.2
* Twenty Eleven: 3.6
* Twenty Twelve: 3.3
* Twenty Thirteen: 3.2
* Twenty Fourteen: 3.0
* Twenty Fifteen: 2.8
* Twenty Sixteen: 2.3
* Twenty Seventeen: 2.5
* Twenty Nineteen: 1.8
* Twenty Twenty: 1.6
* Twenty Twenty-One: 1.0
Props peterwilsoncc, hareesh-pillai, dkarfa, sabernhardt, poena, aristath, SergeyBiryukov.
Fixes #51919 .
Built from https://develop.svn.wordpress.org/trunk@49763
git-svn-id: http://core.svn.wordpress.org/trunk@49486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-07 15:55:05 +00:00
Sergey Biryukov
12ce5683ab
Twenty Twenty-One: Use esc_url()
for the WordPress.org link in footer.php
.
...
Props mukesh27, poena.
Fixes #51954 .
Built from https://develop.svn.wordpress.org/trunk@49762
git-svn-id: http://core.svn.wordpress.org/trunk@49485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-07 14:17:04 +00:00
Sergey Biryukov
2095631176
Twenty Twenty-One: Use consistent HTML comments after closing HTML tags.
...
Follow-up to [45209] for other bundled themes.
Props arcangelini, audrasjb.
Fixes #51950 .
Built from https://develop.svn.wordpress.org/trunk@49761
git-svn-id: http://core.svn.wordpress.org/trunk@49484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-07 14:07:06 +00:00
Sergey Biryukov
a4730c14ba
Twenty Twenty-One: Fix the nesting of the main
element.
...
The `main` element must not appear as a descendant of the `section` element. Correct markup is the first requirement to make user agents and assistive technologies work properly.
Changes the `<section>` element that was wrapping the `<main>` element to a `<div>`.
Follow-up to [45942] for Twenty Nineteen.
Props albertomake, poena.
Fixes #51944 .
}}}
Built from https://develop.svn.wordpress.org/trunk@49759
git-svn-id: http://core.svn.wordpress.org/trunk@49482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-06 16:22:06 +00:00
Peter Wilson
675620a844
Docs, Tests: Correctly capitalize JavaScript.
...
Correct Javascript to JavaScript within Wordpress core ;)
See #51800 , #51802 .
Built from https://develop.svn.wordpress.org/trunk@49758
git-svn-id: http://core.svn.wordpress.org/trunk@49481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-06 02:21:07 +00:00
desrosj
5bd111eb76
Twenty Twenty-One: Sync the latest changes for 5.6 RC2.
...
This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.
For a full list of changes since [49633], see 1d5a895...53acd9b
.
Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49726
git-svn-id: http://core.svn.wordpress.org/trunk@49449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-01 19:09:05 +00:00
desrosj
634e6b16c8
Twenty Twenty-One: Sync the latest changes for 5.6 RC1.
...
For a full list of changes since [49574-49577], see https://github.com/WordPress/twentytwentyone/compare/aa284fd...trunk .
Props poena, luminuu, kjellr, ryelle, aristath.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49633
git-svn-id: http://core.svn.wordpress.org/trunk@49371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-17 19:00:08 +00:00
Sergey Biryukov
b618452411
Twenty Nineteen: Remove unnecessary references to some variables in twentynineteen_hsl_hex()
before they are defined.
...
Props ankitmaru, sabernhardt.
Fixes #49052 .
Built from https://develop.svn.wordpress.org/trunk@49602
git-svn-id: http://core.svn.wordpress.org/trunk@49340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-15 12:16:09 +00:00
Sergey Biryukov
7baab642c1
Bundled Themes: Add block-patterns
tag to Twenty Nineteen and Twenty Twenty.
...
Follow-up to [49347], [49348].
See #51098 , #51099 .
Built from https://develop.svn.wordpress.org/trunk@49585
git-svn-id: http://core.svn.wordpress.org/trunk@49323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 21:56:12 +00:00
Sergey Biryukov
87fbad7286
Bundled Themes: Introduce block patterns for Twenty Seventeen.
...
Props melchoyce, kjellr, onemaggie, ryelle, beafialho, bridgetwillard, poena.
Fixes #51100 .
Built from https://develop.svn.wordpress.org/trunk@49584
git-svn-id: http://core.svn.wordpress.org/trunk@49322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 21:22:12 +00:00
Sergey Biryukov
b6f30e3009
Bundled Themes: Introduce block patterns for Twenty Sixteen.
...
Props melchoyce, kjellr, onemaggie, ryelle, beafialho, bridgetwillard, poena, jffng.
Fixes #51101 .
Built from https://develop.svn.wordpress.org/trunk@49583
git-svn-id: http://core.svn.wordpress.org/trunk@49321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 21:14:12 +00:00
desrosj
6703f8efee
Twenty Twenty-One: Use consistent casing in strings.
...
This converts strings using Title Case to sentence case, which is currently preferred for consistency (see discussions on #40244 ).
Also included is the replacement of an escaped apostrophe with `’`, which is also preferred per the Internationalization guidelines.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49578
git-svn-id: http://core.svn.wordpress.org/trunk@49316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 19:30:11 +00:00
desrosj
ee888ad547
Twenty Twenty-One: Convert inline ESLint comments to JSHint.
...
WordPress Core currently uses JSHint instead of ESlint.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49575
git-svn-id: http://core.svn.wordpress.org/trunk@49313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 18:48:08 +00:00
desrosj
967d29d83d
Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4.
...
In addition to syncing the latest changes, this change also merges the theme’s `.scss` files and other related build tool configurations required to compile the theme’s CSS.
This will allow development of the theme to continue on Trac after 5.6 is released and the GitHub repository is archived.
For a full list of changes since [], see e7d5991...aa284fd
.
Props poena, luminuu kjellr, aristath, justinahinon.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49574
git-svn-id: http://core.svn.wordpress.org/trunk@49312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-12 18:36:15 +00:00
Sergey Biryukov
a2d42351c5
Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings.
...
Standardize on "Go to..." as a more appropriate option for most cases.
Props garrett-eclipse, kharisblank, audrasjb, ramiy, valentinbora.
Fixes #47235 .
Built from https://develop.svn.wordpress.org/trunk@49539
git-svn-id: http://core.svn.wordpress.org/trunk@49277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-09 10:53:10 +00:00
Sergey Biryukov
3f7d705cfe
Bundled Themes: Correct list block alignment in editor styles.
...
Additionally:
* Indent nested lists in list and category blocks.
* Match ordered and unordered indentation for the classic block's lists.
This applies to:
* Twenty Ten
* Twenty Eleven
* Twenty Thirteen
* Twenty Fourteen
* Twenty Fifteen
* Twenty Sixteen
* Twenty Seventeen
Props sabernhardt, amolv, kjellr, audrasjb, francina.
Fixes #51157 .
Built from https://develop.svn.wordpress.org/trunk@49511
git-svn-id: http://core.svn.wordpress.org/trunk@49266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-06 11:53:05 +00:00
Sergey Biryukov
a3faece50b
Twenty Twenty: Correctly indent nested unordered lists in RTL editor styles.
...
Props sabernhardt.
Fixes #51574 .
Built from https://develop.svn.wordpress.org/trunk@49510
git-svn-id: http://core.svn.wordpress.org/trunk@49265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-06 11:38:09 +00:00
Sergey Biryukov
3426581eaa
Twenty Thirteen: Correct alignment of blocks inside a full-width
or wide-width
group block.
...
Props sabernhardt.
Fixes #51440 .
Built from https://develop.svn.wordpress.org/trunk@49508
git-svn-id: http://core.svn.wordpress.org/trunk@49263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-05 15:05:07 +00:00
Sergey Biryukov
eb6b93f327
Twenty Twenty: Correct heading blocks alignment in editor styles.
...
This explicitly sets top and bottom margins instead of defining all four sides in shorthand notation.
Props sabernhardt, Lumne.
Fixes #51148 .
Built from https://develop.svn.wordpress.org/trunk@49507
git-svn-id: http://core.svn.wordpress.org/trunk@49262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-05 15:02:10 +00:00
desrosj
e0669ddaae
Bundled Themes: Sync Twenty Twenty-One with the latest changes from GitHub.
...
For a full list of changes since [49330], see 5759e96...e7d5991
.
Props poena, luminuu, ryelle, kjellr, aristath, justinahinon, felipeelia, joostdevalk.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49478
git-svn-id: http://core.svn.wordpress.org/trunk@49237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-11-02 19:45:07 +00:00
Sergey Biryukov
7941c32ad3
Twenty Sixteen: Ensure the <nav>
elements in widgets do not affect bottom margin.
...
Follow-up to [49208].
Props sabernhardt.
Fixes #51445 .
Built from https://develop.svn.wordpress.org/trunk@49470
git-svn-id: http://core.svn.wordpress.org/trunk@49229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-31 02:56:05 +00:00
Sergey Biryukov
4091f41a07
Twenty Fifteen: Ensure the <nav>
elements in widgets do not affect bottom margin.
...
Follow-up to [49208].
Props sabernhardt.
See #51445 .
Built from https://develop.svn.wordpress.org/trunk@49469
git-svn-id: http://core.svn.wordpress.org/trunk@49228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-31 02:54:11 +00:00
Helen Hou-Sandí
a33d6305d1
Twenty Twenty: Correct some textdomains in block patterns.
...
Props justinahinon.
Fixes #51648 . See #51098 .
Built from https://develop.svn.wordpress.org/trunk@49352
git-svn-id: http://core.svn.wordpress.org/trunk@49112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 22:14:05 +00:00
Helen Hou-Sandí
14558efa83
PHPCS fixes after [49347].
...
See #51098 .
Built from https://develop.svn.wordpress.org/trunk@49349
git-svn-id: http://core.svn.wordpress.org/trunk@49109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 21:23:07 +00:00
Helen Hou-Sandí
bf02276a17
Bundled Themes: Introduce block patterns for Twenty Nineteen.
...
Including some props I missed on the commit for Twenty Twenty, I am sorry.
Props: kjellr, beafialho, melchoyce, ryelle, jffng, bridgetwillard.
Fixes #51099 .
Built from https://develop.svn.wordpress.org/trunk@49348
git-svn-id: http://core.svn.wordpress.org/trunk@49108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 21:15:12 +00:00
Helen Hou-Sandí
6d3300b437
Bundled Themes: Introduce block patterns for Twenty Twenty.
...
Props melchoyce, Anlino, kjellr, ryelle.
Fixes #51098 .
Built from https://develop.svn.wordpress.org/trunk@49347
git-svn-id: http://core.svn.wordpress.org/trunk@49107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 21:01:07 +00:00
desrosj
24f6f56a71
Twenty Twenty-One: Import the latest changes.
...
For a full list of changes since [49320], see 461dcf9cd...5759e96
.
Props poena, melchoyce, aristath, justinahinon, ryelle.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49330
git-svn-id: http://core.svn.wordpress.org/trunk@49091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 17:07:05 +00:00
Sergey Biryukov
6275885400
Bundled Themes: Update latest version for Tested up to:
in readme.txt
files.
...
Props mukesh27.
Fixes #51501 .
Built from https://develop.svn.wordpress.org/trunk@49322
git-svn-id: http://core.svn.wordpress.org/trunk@49083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 02:18:05 +00:00
desrosj
87b6c253b5
Twenty Twenty-One: Import the latest changes for 5.6 beta 2.
...
For a full list of changes since beta 1, see 9e34dca...e580895
.
Props poena, melchoyce, luminuu, aristath, justinahinon, jffng, ryelle, kishanjasani, rolfsiebers.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49320
git-svn-id: http://core.svn.wordpress.org/trunk@49081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-27 02:00:07 +00:00
Sergey Biryukov
4bb4107f50
General: Use correct value for the speak
property in various CSS files.
...
Follow-up to [49263].
Props hareesh-pillai.
Fixes #51622 .
Built from https://develop.svn.wordpress.org/trunk@49309
git-svn-id: http://core.svn.wordpress.org/trunk@49071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-26 02:25:09 +00:00
desrosj
b4853c1dd9
Twenty Twenty: Use jshint
exclude statements instead of eslint
.
...
Also, exclude the `node_modules` folder within `twentytwentyone`.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49250
git-svn-id: http://core.svn.wordpress.org/trunk@49012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-20 18:34:06 +00:00
desrosj
0e85b07bc8
Twenty Twenty: Import the latest changes from GitHub
...
For a full list of changes since [49216], see dfe141276c
...trunk/.
Props poena, melchoyce, luminuu, aristath, jffng, ryelle, kishanjasani, rolfsiebers, sresok, desrosj.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49247
git-svn-id: http://core.svn.wordpress.org/trunk@49009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-20 18:26:06 +00:00
desrosj
19a4b4fee4
Twenty Thirteen: Prevent incorrect link color within the Social Icon block.
...
Props amolv, shital-patel, poena, davidbaumwald.
Fixes #50809 .
Built from https://develop.svn.wordpress.org/trunk@49240
git-svn-id: http://core.svn.wordpress.org/trunk@49002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-20 17:35:06 +00:00
desrosj
a4edd896b4
Bundled Themes: Add the theme screenshot for Twenty Twenty-One
...
Follow up to [49216].
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49217
git-svn-id: http://core.svn.wordpress.org/trunk@48979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-20 01:29:03 +00:00
desrosj
3ea8930f37
Bundled Themes: Import Twenty Twenty-One, the new default theme for WordPress 5.6.
...
Welcome to the bundled themes family!
Twenty Twenty-One is a blank canvas for your ideas, making the block editor your best brush.
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwentyone/ .
Props poena, melchoyce, luminuu, elmastudio, bethsoderberg, williampatton, aristath, jffng, kjellr, jeffikus, audrasjb, fabiankaegy, mukesh27, dingo_d, kellylawrence, acosmin, whyisjake, metodiew, ryelle, nielslange, littlebigthing, mahesh901122, zebulan, kishanjasani, lukecavanagh, scruffian, abhijitrakas, utz119, sudoshreyansh, kau-boy, justinahinon, joostdevalk, bduclos, hareesh-pillai, mager19, rolfsiebers, webmigrates, sresok, guidooffermans, francina, marybaum, hareshlive, navanathbhosale, afercia, richtabor, joyously, sarahricker, nrqsnchz, glauberglauber, sabernhardt, kraftbj, ItsJonQ, joen, CTMartin0, decrecementofeliz, bhautikvirani.
See #51526 .
Built from https://develop.svn.wordpress.org/trunk@49216
git-svn-id: http://core.svn.wordpress.org/trunk@48978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-20 01:14:10 +00:00
Sergey Biryukov
3d02b5b585
Bundled Themes: Declare support for the html5
feature navigation-widgets
.
...
Widgets that output a list of links are now wrapped within `<nav>` elements to improve semantics and accessibility.
The `<nav>` elements are native landmark regions, which helps assistive technology users to navigate through them.
Follow-up to [48349], [49177].
Props hareesh-pillai, justinahinon, afercia, williampatton.
Fixes #51445 .
Built from https://develop.svn.wordpress.org/trunk@49208
git-svn-id: http://core.svn.wordpress.org/trunk@48970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-19 20:32:05 +00:00
Sergey Biryukov
0e3147c40e
Coding Standards: Replace alias PHP functions with the canonical names.
...
Using the canonical function name for PHP functions is strongly recommended, as aliases may be deprecated or removed without (much) warning.
This replaces all uses of the following:
* `join()` with `implode()`
* `sizeof()` with `count()`
* `is_writeable()` with `is_writable()`
* `doubleval()` with a `(float)` cast
In part, this is a follow-up to #47746 .
Props jrf.
See #50767 .
Built from https://develop.svn.wordpress.org/trunk@49193
git-svn-id: http://core.svn.wordpress.org/trunk@48955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-18 17:27:06 +00:00
Sergey Biryukov
30d9432760
Code Modernization: Use explicit visibility for class property declarations.
...
Using `var` or only `static` to declare a class property is PHP 4 code.
This updates the codebase to use explicit visibility modifiers introduced in PHP 5.
Props jrf.
Fixes #51557 . See #22234 .
Built from https://develop.svn.wordpress.org/trunk@49184
git-svn-id: http://core.svn.wordpress.org/trunk@48946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-17 16:26:09 +00:00
John Blackbourn
c16ae60deb
Docs: Fix and upgrade various object
docblock notations.
...
See #50768
Built from https://develop.svn.wordpress.org/trunk@49183
git-svn-id: http://core.svn.wordpress.org/trunk@48945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-17 16:05:09 +00:00
Sergey Biryukov
3b7a8a7eca
Twenty Nineteen: Remove extra space from the comment link in TwentyNineteen_Walker_Comment
.
...
Fixes #51533 .
Built from https://develop.svn.wordpress.org/trunk@49159
git-svn-id: http://core.svn.wordpress.org/trunk@48921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-15 15:24:08 +00:00
Sergey Biryukov
2d6ec60e04
Twenty Twenty: Remove extra space from the comment link in TwentyTwenty_Walker_Comment
.
...
See #51533 .
Built from https://develop.svn.wordpress.org/trunk@49158
git-svn-id: http://core.svn.wordpress.org/trunk@48920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-15 15:13:07 +00:00
John Blackbourn
905460bd5e
Docs: Standardise the type name for booleans and integers.
...
This brings these docs inline with the documentation standards.
Props ravipatel, justinahinon
Fixes #51426
Built from https://develop.svn.wordpress.org/trunk@49120
git-svn-id: http://core.svn.wordpress.org/trunk@48882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-10 20:02:05 +00:00
Sergey Biryukov
897f004a9c
General: Replace older-style PHP type conversion functions with type casts.
...
This improves performance, readability, and consistency throughout core.
* `intval()` → `(int)`
* `strval()` → `(string)`
* `floatval()` → `(float)`
Props ayeshrajans.
Fixes #42918 .
Built from https://develop.svn.wordpress.org/trunk@49108
git-svn-id: http://core.svn.wordpress.org/trunk@48870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 21:15:13 +00:00
Sergey Biryukov
5f2f199a75
Twenty Ten: Docs: Fix typo in twentyten_custom_excerpt_more()
DocBlock.
...
Update `@return` tag for `twentyten_auto_excerpt_more()` for consistency with Twenty Eleven.
See #51477 , #50768 .
Built from https://develop.svn.wordpress.org/trunk@49106
git-svn-id: http://core.svn.wordpress.org/trunk@48868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 09:26:02 +00:00
Sergey Biryukov
37c3854083
Twenty Eleven: Docs: Add missing @return
type for twentyeleven_auto_excerpt_more()
.
...
Props ravipatel.
Fixes #51477 .
Built from https://develop.svn.wordpress.org/trunk@49105
git-svn-id: http://core.svn.wordpress.org/trunk@48867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-08 09:23:07 +00:00
Sergey Biryukov
ddefc9ee9a
Twenty Twenty: Update the URL for PHP date formats table in translator comments.
...
Follow-up to [48991].
Props hareesh-pillai, mukesh27, iandunn.
Fixes #51335 . See #51332 .
Built from https://develop.svn.wordpress.org/trunk@48992
git-svn-id: http://core.svn.wordpress.org/trunk@48754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-09-18 10:44:04 +00:00
Sergey Biryukov
3a85c4741b
Twenty Twenty: Add context to adjectives and homonyms.
...
This allows for better localization in languages where adjectives are translated differently depending on which noun they modify, or when a different translation is required for a noun vs. a verb.
Props dimadin, justinahinon.
Fixes #49797 .
Built from https://develop.svn.wordpress.org/trunk@48861
git-svn-id: http://core.svn.wordpress.org/trunk@48623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-26 01:35:11 +00:00
Sergey Biryukov
6766375f84
Twenty Nineteen: Remove trailing commas after selectors in style-editor.scss
.
...
Remove one empty CSS block.
Props justinahinon.
Fixes #51095 .
Built from https://develop.svn.wordpress.org/trunk@48837
git-svn-id: http://core.svn.wordpress.org/trunk@48599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-21 15:42:05 +00:00
Sergey Biryukov
216c1e01b4
Bundled Themes: Correct punctuation in "Your comment is awaiting moderation" string.
...
Props llizard, mayankmajeji.
Fixes #49867 .
Built from https://develop.svn.wordpress.org/trunk@48825
git-svn-id: http://core.svn.wordpress.org/trunk@48587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-19 02:28:13 +00:00
Sergey Biryukov
1f85e7484f
Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards.
...
See #50768 .
Built from https://develop.svn.wordpress.org/trunk@48782
git-svn-id: http://core.svn.wordpress.org/trunk@48544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-11 00:34:08 +00:00
desrosj
14d561ac57
Bundled Themes: Bump theme versions ahead of WordPress 5.5.
...
The following theme versions will be released in coordination with WordPress 5.5:
- Twenty Ten: 3.1
- Twenty Eleven: 3.5
- Twenty Twelve: 3.2
- Twenty Thirteen: 3.1
- Twenty Fourteen: 2.9
- Twenty Fifteen: 2.7
- Twenty Sixteen: 2.2
- Twenty Seventeen: 2.4
- Twenty Nineteen: 1.7
- Twenty Twenty: 1.5
Props whyisjake, desrosj.
Fixes #50769 .
Built from https://develop.svn.wordpress.org/trunk@48775
git-svn-id: http://core.svn.wordpress.org/trunk@48537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-10 15:32:05 +00:00
desrosj
5a6fef41f3
Build/Test Tools: Update elliptic
in Twenty Twenty.
...
See #50769 .
Built from https://develop.svn.wordpress.org/trunk@48774
git-svn-id: http://core.svn.wordpress.org/trunk@48536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-10 15:19:03 +00:00
Sergey Biryukov
b82cee898b
Bundled Themes: Rebuild Twenty Nineteen’s RTL stylesheet.
...
This adds the changes from [48073] to the `style-rtl.css` file.
Previously committed in [48514], accidentally reverted in [48602].
See #45912 , #49843 .
Built from https://develop.svn.wordpress.org/trunk@48605
git-svn-id: http://core.svn.wordpress.org/trunk@48367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-24 18:32:03 +00:00
whyisjake
f06efa4e29
Bundled Theme: Ensure parity between the block editor and the front-end in twentynineteen.
...
Alignments and blocks were not always appearing as they should in the admin.
- Wide alignments sometimes appear only as wide as the text column.
- Full and wide appear centered on the text column
- Full-width blocks sometimes do not take up the full width of the page, and other times they cause a horizontal scroll.
- Wide and full group block children take up the full width of the block by default.
Fixes #49843 .
Props kjellr, Joen, poena.
Built from https://develop.svn.wordpress.org/trunk@48602
git-svn-id: http://core.svn.wordpress.org/trunk@48364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-24 17:48:04 +00:00
desrosj
d298aec258
Build/Test Tools: Update NPM packages in Twenty Nineteen.
...
This updates three packages:
- `@wordpress/browserslist-config` from `2.5.0` to `2.7.0`
- `autoprefixer` from `9.6.0` to `9.8.5`.
- `chokidar-cli` from `2.0.0` to `2.1.0`
See #49768 .
Built from https://develop.svn.wordpress.org/trunk@48515
git-svn-id: http://core.svn.wordpress.org/trunk@48277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-20 13:41:05 +00:00
desrosj
bf8d963cfc
Bundled Themes: Rebuild Twenty Nineteen’s RTL stylesheet.
...
This adds the changes from [48073] to the `style-rtl.css` file.
See #45912 .
Built from https://develop.svn.wordpress.org/trunk@48514
git-svn-id: http://core.svn.wordpress.org/trunk@48276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-20 13:29:05 +00:00
whyisjake
265574802b
Build/Test Tools: Bump lodash in twentytwenty as part of a security audit.
...
lodash: 4.17.15 👉 4.17.19
See #49768 .
Props: dependabot.
Built from https://develop.svn.wordpress.org/trunk@48501
git-svn-id: http://core.svn.wordpress.org/trunk@48263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-16 22:24:11 +00:00
whyisjake
f83664c487
Bundled Themes: Add custom color pallettes for block editor.
...
Gutenberg 7.9 added support for themes to bundle their own custom styles in to the editor. These changes have been added to 2010 - 2016.
See #50120 .
Props kjellr, sabernhardt, ianbelanger.
Built from https://develop.svn.wordpress.org/trunk@48459
git-svn-id: http://core.svn.wordpress.org/trunk@48228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-13 17:08:03 +00:00
whyisjake
a7ad4e288e
Bundled theme: Ensure appropriate title for author archives for that don't have posts.
...
Rather then displaying `Author: `, show `Nothing Found`.
Fixes #50421 .
Props SGr33n, williampatton, ianbelanger, rebasaurus, priyomukul, virginienacci, audrasjb.
Built from https://develop.svn.wordpress.org/trunk@48355
git-svn-id: http://core.svn.wordpress.org/trunk@48124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 23:12:03 +00:00
Sergey Biryukov
953868b3a3
Bundled Themes: Use HTTPS for XHTML Friends Network URL.
...
Props raajtram, jrf, passoniate, bookdude13, sabernhardt, audrasjb.
See #48002 .
Built from https://develop.svn.wordpress.org/trunk@48290
git-svn-id: http://core.svn.wordpress.org/trunk@48059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-03 23:42:01 +00:00
whyisjake
55b80358a5
Bundled Themes: Update latest version for Tested up to:
in readme.txt file.
...
Fixes #50503 .
Props mukesh27, hareesh-pillai.
Built from https://develop.svn.wordpress.org/trunk@48271
git-svn-id: http://core.svn.wordpress.org/trunk@48040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 22:06:05 +00:00
Sergey Biryukov
30e0cf9fcd
Docs: Bundled Themes: Correct DocBlock placement for custom header and background argument filters.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48264
git-svn-id: http://core.svn.wordpress.org/trunk@48033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 13:52:01 +00:00
Sergey Biryukov
3336009e34
Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML".
...
This ensures consistent capitalization where appropriate.
Props navidos, desrosj.
Fixes #50473 .
Built from https://develop.svn.wordpress.org/trunk@48199
git-svn-id: http://core.svn.wordpress.org/trunk@47968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-28 14:02:06 +00:00
Sergey Biryukov
81447b05ba
Twenty Twenty: Correct parameter types and @since
version for twentytwenty_svg_icon_color
filter.
...
Follow-up to [48180].
See #48713 .
Built from https://develop.svn.wordpress.org/trunk@48181
git-svn-id: http://core.svn.wordpress.org/trunk@47950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-26 14:51:06 +00:00
ianbelanger
cc1af8ddb5
Bundled Themes: Twenty Twenty Social Icons Filter.
...
Adds a Social Icons Filter to Twenty Twenty that allows for new icons to be added to the theme by filter.
Props JarretC, nielslange, acosmin, desrosj.
Fixes #48713 .
Built from https://develop.svn.wordpress.org/trunk@48180
git-svn-id: http://core.svn.wordpress.org/trunk@47949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-26 14:42:02 +00:00
desrosj
4b60af1a6a
General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language.
...
“The WordPress open source community cares about diversity. We strive to maintain a welcoming environment where everyone can feel included.”
With this commit, all occurrences of “whitelist” and “blacklist” (with the single exception of the `$new_whitelist_options` global variable) are removed. A new ticket has been opened to explore renaming the `$new_whitelist_options` variable (#50434 ).
Changing to more specific names or rewording sentences containing these terms not only makes the code more inclusive, but also helps provide clarity. These terms are often ambiguous. What is being blocked or allowed is not always immediately clear. This can make it more difficult for non-native English speakers to read through the codebase.
Words matter. If one contributor feels more welcome because these terms are removed, this was worth the effort.
Props strangerstudios, jorbin, desrosj, joemcgill, timothyblynjacobs, ocean90, ayeshrajans, davidbaumwald, earnjam.
See #48900 , #50434 .
Fixes #50413 .
Built from https://develop.svn.wordpress.org/trunk@48121
git-svn-id: http://core.svn.wordpress.org/trunk@47890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-22 17:26:13 +00:00
Sergey Biryukov
b16368c268
Docs: Remove @staticvar
tags from core.
...
The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x.
Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs.
Props alishanvr, jrf.
Fixes #50426 .
Built from https://develop.svn.wordpress.org/trunk@48109
git-svn-id: http://core.svn.wordpress.org/trunk@47878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 12:40:12 +00:00
Sergey Biryukov
3fb623cf76
Docs: Use a hyphen with the "non" prefix in a more consistent way.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48106
git-svn-id: http://core.svn.wordpress.org/trunk@47875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 12:16:10 +00:00
Sergey Biryukov
e13c363b17
Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48104
git-svn-id: http://core.svn.wordpress.org/trunk@47873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 12:02:12 +00:00
Sergey Biryukov
58bda42fc8
Docs: Synchronize and correct the documentation for wp_nav_menu()
arguments in bundled themes.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48103
git-svn-id: http://core.svn.wordpress.org/trunk@47872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 11:22:10 +00:00
Sergey Biryukov
a576a13246
Docs: Remove an empty line between @param
and @return
tags, per the documentation standards.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48102
git-svn-id: http://core.svn.wordpress.org/trunk@47871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 11:18:09 +00:00
John Blackbourn
afe406b82e
Docs: Fix some documentation errors in bundled themes.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48101
git-svn-id: http://core.svn.wordpress.org/trunk@47870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-20 07:24:06 +00:00
ianbelanger
1a767ac06f
Bundled Themes: Twenty Sixteen table border extends beyond table.
...
Fixes issues where tables created by the table block have an extra border on the left side which extends below the table.
Props gsmumbo, mukesh27, JavierCasares.
Fixes #50180 .
Built from https://develop.svn.wordpress.org/trunk@48074
git-svn-id: http://core.svn.wordpress.org/trunk@47841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-17 17:27:09 +00:00
ianbelanger
48eea2481c
Bundled Themes: Twenty Nineteen horizontal rule is very narrow.
...
Fixes the issue by adding specific styles for the `<hr>` tag.
Props laurelfulford, nielslange, kjellr, samful, leprincenoir.
Fixes #45912 .
Built from https://develop.svn.wordpress.org/trunk@48073
git-svn-id: http://core.svn.wordpress.org/trunk@47840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-17 15:48:09 +00:00
Sergey Biryukov
de59ad23a4
Docs: Consistently include an empty line between @since
tag and @see
, @link
, or @global
, per the documentation standards.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48067
git-svn-id: http://core.svn.wordpress.org/trunk@47834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-16 21:07:14 +00:00
ianbelanger
c5ee065c3a
Bundled Themes: Twenty Seventeen pagination links don't appear for home pages.
...
Fixes issues where pagination does not work on the page that is set to the home page.
Props dimitris.m, laurelfulford, poena, ianbelanger, samful.
Fixes #39685 .
Built from https://develop.svn.wordpress.org/trunk@48064
git-svn-id: http://core.svn.wordpress.org/trunk@47831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-16 18:40:07 +00:00
ianbelanger
5e0879db84
Bundled Themes: Twenty Seventeen Navbar z-index issue.
...
Fixes navbar z-index issue by upping the z-index value to 1000 from 7.
Props halgatewood, justnorris, poena, sinatrateam.
Fixes #39384 .
Built from https://develop.svn.wordpress.org/trunk@48061
git-svn-id: http://core.svn.wordpress.org/trunk@47828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-16 17:16:10 +00:00
ianbelanger
6d914acd6c
Bundled Themes: Twenty Nineteen dropcap appears higher than expected in Firefox.
...
Fixes the issue by adding moz specific top margin for the dropcap.
Props kjellr, joseph.dickson, maxpertici, samful.
Fixes #45876 .
Built from https://develop.svn.wordpress.org/trunk@48047
git-svn-id: http://core.svn.wordpress.org/trunk@47814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-15 15:13:09 +00:00
ianbelanger
232277586f
Bundled Themes: Twenty Nineteen long submenu item titles do not wrap.
...
Fixes the issue of long submenu item titles that do not wrap by adding a `max-width: 20rem;` and removing `white-space: nowrap;`.
Props kjellr, mukesh27, mohsinrasool, samful.
Fixes #45866 .
Built from https://develop.svn.wordpress.org/trunk@48032
git-svn-id: http://core.svn.wordpress.org/trunk@47799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-12 15:11:08 +00:00
ianbelanger
99c6adfeaa
Bundled Themes: Twenty Seventeen CSS issue when using rowspan in tables.
...
Fixes CSS issue when using rowspan in tables. This issue does not apply to the Table Block, just tables inserted as custom html.
Props aussi, subrataemfluence, jainnidhi.
Fixes #44004 .
Built from https://develop.svn.wordpress.org/trunk@48028
git-svn-id: http://core.svn.wordpress.org/trunk@47796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-11 17:15:08 +00:00
ianbelanger
5bc4b92551
Bundled Themes: Twenty Seventeen add Telegram and Whatsapp support to Social Media Menu.
...
Adds Telegram and Whatsapp support and SVG's to Social Media Menu.
Props cpasqualini, audrasjb, laurelfulford, karmatosed, ibdz.
Fixes #43999 .
Built from https://develop.svn.wordpress.org/trunk@48027
git-svn-id: http://core.svn.wordpress.org/trunk@47795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-11 15:31:09 +00:00
ianbelanger
9524b335c7
Bundled Themes: Twenty Twenty and Twenty Nineteen version bump.
...
We are releasing new versions of Twenty Twenty & Twenty Nineteen today thus we need to bump the version.
Props ianbelanger.
Fixes #50359 .
Built from https://develop.svn.wordpress.org/trunk@47952
git-svn-id: http://core.svn.wordpress.org/trunk@47724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-10 17:32:06 +00:00
ianbelanger
4e61c5fb0f
Bundled Themes: Twenty Twenty number of replies not translatable.
...
Fixes the issue by removing the single quote from around the `1` in the elseif conditional of the comments template.
Props Parvand, SergeyBiryukov, desrosj, juliobox, Mista-Flo, benjamingosset, audrasjb, opurockey.
Fixes #49058 .
Built from https://develop.svn.wordpress.org/trunk@47941
git-svn-id: http://core.svn.wordpress.org/trunk@47714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 20:02:08 +00:00
ianbelanger
32116649cf
Bundled Themes: Twenty Twenty HTML in featured image caption is being escaped.
...
Fixes the issue by replacing `esc_html` with `wp_kses_post` in the caption in featured images.
Props pierlo, JavierCasares, audrasjb.
Fixes #49833 .
Built from https://develop.svn.wordpress.org/trunk@47940
git-svn-id: http://core.svn.wordpress.org/trunk@47713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 19:52:07 +00:00
ianbelanger
c681e37da7
Bundled Themes: Twenty Fifteen bulleted list block appears too far to the left in the editor.
...
Fixes the issue by removing unnecessary margin rules for bulleted lists in the editor.
Props kjellr.
Fixes #50029 .
Built from https://develop.svn.wordpress.org/trunk@47934
git-svn-id: http://core.svn.wordpress.org/trunk@47707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 14:10:09 +00:00
ianbelanger
644fb1b931
Bundled Themes: Twenty Twenty uses overly specific selector for button background.
...
Fixes the issue by removing `:not(.toogle)` from the `button` selector, as it is not needed.
Props flixos90.
Fixes #50271 .
Built from https://develop.svn.wordpress.org/trunk@47933
git-svn-id: http://core.svn.wordpress.org/trunk@47706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-09 13:52:08 +00:00
desrosj
9e9be350e2
Bundled Themes: Update several package versions in Twenty Twenty and Twenty Nineteen.
...
The following packages received version bumps:
Twenty Twenty
- `concurrently`
- `postcss-cli`
- `rtlcss`
- `stylelint-a11y`
Twenty Nineteen
- `node-sass`
- `postcss-cli`
- `rtlcss`
See #49768 .
Built from https://develop.svn.wordpress.org/trunk@47925
git-svn-id: http://core.svn.wordpress.org/trunk@47699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-08 18:47:08 +00:00
Sergey Biryukov
30b61fc9e8
Bundled Themes: Consistently check for WP_Error
before outputting get_the_tag_list()
.
...
Some themes already had these checks in place as a result of [41756], but not others.
Props sixhours, davidakennedy, SergeyBiryukov.
Fixes #39860 .
Built from https://develop.svn.wordpress.org/trunk@47886
git-svn-id: http://core.svn.wordpress.org/trunk@47660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-02 17:05:13 +00:00
whyisjake
e9282e7389
Bundled Themes: Add missing RTL styles for to fix inconsistent margins on .alignwide
and .alignfull
items.
...
Fixes the inconsistent margins for alignwide and alignfull classes used on Cover Block when it is the first block on a page.
Props kthmd, utz119, nikhilbhansi, and sabernhardt.
Fixes #49435 .
Built from https://develop.svn.wordpress.org/trunk@47846
git-svn-id: http://core.svn.wordpress.org/trunk@47622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-23 06:23:06 +00:00
ianbelanger
bc0e05d6c8
Bundled Themes: Twenty Twenty inconsistent top and bottom margins for .alignwide
and .alignfull
on Chrome vs Safari.
...
Fixes the inconsistent margins for `alignwide` and `alignfull` classes used on Cover Block when it is the first block on a page.
Props kthmd, utz119, nikhilbhansi.
Fixes #49435 .
Built from https://develop.svn.wordpress.org/trunk@47820
git-svn-id: http://core.svn.wordpress.org/trunk@47596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-18 19:52:07 +00:00
Sergey Biryukov
7932193708
Coding Standards: Use strict comparison where static strings are involved.
...
This reduces the number of `WordPress.PHP.StrictComparisons.LooseComparison` issues in half, from 1897 to 890.
Includes minor code layout fixes for better readability.
See #49542 .
Built from https://develop.svn.wordpress.org/trunk@47808
git-svn-id: http://core.svn.wordpress.org/trunk@47584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-16 18:42:12 +00:00
ianbelanger
e54d8406eb
Bundled Themes: Twenty Eleven & Twenty Twelve dropdown category widget exceeds parent div when strings are long enough.
...
Fixes the width of the category dropdown by limiting the width of `select` items in widgets using `max-width: 100%`.
Props gma992, karmatosed.
Fixes #37926 .
Built from https://develop.svn.wordpress.org/trunk@47801
git-svn-id: http://core.svn.wordpress.org/trunk@47577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-15 16:31:11 +00:00
ianbelanger
b10bd5134c
Bundled Themes: Twenty Twenty version bump.
...
We are releasing a new version of Twenty Twenty today thus we need to bump the version.
Props ianbelanger.
Fixes #50174 .
Built from https://develop.svn.wordpress.org/trunk@47800
git-svn-id: http://core.svn.wordpress.org/trunk@47576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 18:12:07 +00:00
ianbelanger
86b20d5655
Bundled Themes: Twenty Twenty custom post types that don't support authors, shows author box.
...
This fixes the issue where custom post types will show an author box, even if they don't support authors.
Props joyously, donmhico.
Fixes #48803 .
Built from https://develop.svn.wordpress.org/trunk@47799
git-svn-id: http://core.svn.wordpress.org/trunk@47575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 17:17:07 +00:00
ianbelanger
ceed19f625
Bundled Themes: Twenty Twenty add GPLv2 compatible TikTok icon to the social icon menu.
...
This adds a GPLv2 compatible TikTok icon to replace the non-compatible TikTok icon and update the readme.txt file. Updates previous commit which used a non-compatible TikTok icon [47589]
Props poena, audrasjb, Emlebrun.
Fixes #49893 .
Built from https://develop.svn.wordpress.org/trunk@47796
git-svn-id: http://core.svn.wordpress.org/trunk@47572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 13:48:11 +00:00
ianbelanger
f7539586be
Bundled Themes: Twenty Twenty add icon for g.page links.
...
Adds the option to use a g.page url for the social menu.
Props argentite, mayankmajeji.
Fixes #49088 .
Built from https://develop.svn.wordpress.org/trunk@47795
git-svn-id: http://core.svn.wordpress.org/trunk@47571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-14 13:05:09 +00:00
ianbelanger
2eef7ee2ac
Bundled Themes: Twenty Twenty anchor links don't work in mobile menu.
...
Modifies the mobile modal menu javascript, so that anchor links will close the modal and scroll to the anchor within the page.
Props Giorgio25b, suzylah, yuhin, samful, bdcstr.
Fixes #48916 .
Built from https://develop.svn.wordpress.org/trunk@47784
git-svn-id: http://core.svn.wordpress.org/trunk@47560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-12 16:45:11 +00:00
ianbelanger
928ce10da0
Bundled Themes: Twenty Twenty customizer retina_logo should be hidden when no logo is set.
...
Modifies the Customize setting `Site Identity > Retina logo` so that the option is hidden if there is no logo is set in `Site Identity > Logo`.
Props truongwp.
Fixes #50109 .
Built from https://develop.svn.wordpress.org/trunk@47776
git-svn-id: http://core.svn.wordpress.org/trunk@47552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-05-08 19:36:10 +00:00
ianbelanger
b1a318f3bd
Bundled Themes: Twenty Twenty image caption is not aligned center when image is, on the front-end.
...
Fixes the image caption alignment issue by adding `text-align: center;` to `.wp-block-image .aligncenter figcaption`.
Props markusthiel, SergeyBiryukov, garethgillman.
Fixes #49320 .
Built from https://develop.svn.wordpress.org/trunk@47689
git-svn-id: http://core.svn.wordpress.org/trunk@47466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-29 18:19:05 +00:00
ianbelanger
72ef7ee315
Bundled Themes: Twenty Twenty remove unnecessary $css_dependencies
variable in twentytwenty_block_editor_styles()
.
...
Removes the unnecessary `$css_dependencies` variable in `twentytwenty_block_editor_styles()`.
Props ocean90, Dency.
Fixes #49986 .
Built from https://develop.svn.wordpress.org/trunk@47618
git-svn-id: http://core.svn.wordpress.org/trunk@47393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-24 14:59:07 +00:00
ianbelanger
f97ac354c6
Bundled Themes: Twenty Twenty button styles produce inconsistent output and cannot be edited.
...
Fixes the issue with button styles not working when the Gutenberg plugin is activated while maintaining backwards compatibility.
Props nrqsnchz, poena, kjellr.
Fixes #49896 .
Built from https://develop.svn.wordpress.org/trunk@47614
git-svn-id: http://core.svn.wordpress.org/trunk@47389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-23 15:41:09 +00:00
ianbelanger
4632322382
Bundled Themes: Twenty Twenty resized images are centered inside the editor (with no alignment set) since WordPress 5.4.
...
Fixes the image alignment issue by removing `margin-left: auto;` and `margin-right: auto;` from `.editor-styles-wrapper .wp-block-image.is-resized`.
Props dianeco, JavierCasares.
Fixes #49600 .
Built from https://develop.svn.wordpress.org/trunk@47613
git-svn-id: http://core.svn.wordpress.org/trunk@47388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-22 19:25:08 +00:00
ianbelanger
29abe5c726
Bundled Themes: Twenty Twenty submenu items disappear underneath the Cover block.
...
Fixes the submenu issue by raising the z-index value of the site-header from 1 to 2.
Props kjellr, JavierCasares.
Fixes #49322 .
Built from https://develop.svn.wordpress.org/trunk@47609
git-svn-id: http://core.svn.wordpress.org/trunk@47384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-21 20:06:08 +00:00
ianbelanger
116a9b3039
Bundled Themes: Twenty Twenty missed license for images.
...
Fixes the image license in the readme by removing screenshot.png.
Props h71, poena.
Fixes #49316 .
Built from https://develop.svn.wordpress.org/trunk@47608
git-svn-id: http://core.svn.wordpress.org/trunk@47383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-21 19:43:09 +00:00
ianbelanger
c9ea34b6b3
Bundled Themes: Twenty Twenty block editor inserter is missing the +
.
...
Fixes the disappearing `+` in the block editor when using the latest version of the Gutenberg plugin, by adding support for the native Gutenberg editor styles and removing `color: inherit;` from Twenty Twenty's style.css.
Props nrqsnchz, .
Fixes #49610 .
Built from https://develop.svn.wordpress.org/trunk@47607
git-svn-id: http://core.svn.wordpress.org/trunk@47382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-21 19:17:08 +00:00
Sergey Biryukov
61a2f62ffd
Comments: Use comment
instead of an empty string for the comment_type
DB field value in comments table.
...
This is the first step to bring support for custom comment types into WordPress.
Add a scheduled upgrade routine to update the type value for existing comments, in batches of 100 at a time.
Props imath, aaroncampbell, jeremyfelt, dshanske.
Fixes #49236 .
Built from https://develop.svn.wordpress.org/trunk@47597
git-svn-id: http://core.svn.wordpress.org/trunk@47372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-17 19:35:06 +00:00
ianbelanger
cf9b35eccd
Bundled Themes: Twenty Twenty fix typo in readme.txt.
...
Fixed TikTok was misspelled as Tik Tok in the readme.txt.
Props Asif2BD.
Fixes #49932 .
Built from https://develop.svn.wordpress.org/trunk@47594
git-svn-id: http://core.svn.wordpress.org/trunk@47369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-17 15:47:08 +00:00
ianbelanger
d9c2537d87
Bundled Themes: Twenty Nineteen center and right-aligned heading accents appear broken.
...
Fixes the center and right aligned heading accents so that they align with the text, instead of just staying left-aligned.
Props kjellr, melchoyce.
Fixes #49699 .
Built from https://develop.svn.wordpress.org/trunk@47591
git-svn-id: http://core.svn.wordpress.org/trunk@47366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-16 19:47:10 +00:00
ianbelanger
c03b6040fe
Bundled Themes: Twenty Twenty inline images in list blocks are not positioned correctly.
...
Fixes the alignment of inline images in list blocks to match the way they look in the editor.
Props poena, mayankmajeji, JavierCasares.
Fixes #49793 .
Built from https://develop.svn.wordpress.org/trunk@47590
git-svn-id: http://core.svn.wordpress.org/trunk@47365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-16 19:38:07 +00:00
ianbelanger
5116ed9ebb
Bundled Themes: Twenty Twenty add TikTok to the social icon menu.
...
This adds TikTok as an option in the social icon menu.
Props mislavjuric, poena, audrasjb.
Fixes #49893 .
Built from https://develop.svn.wordpress.org/trunk@47589
git-svn-id: http://core.svn.wordpress.org/trunk@47364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-16 19:01:09 +00:00
ianbelanger
b2f072b97e
Bundled Themes: Twenty Nineteen editor style interferes with navigation menu block.
...
Update editor styles to prepare for changes coming to the editor in 5.5. Currently the issue is only present when using the latest version of the Gutenberg plugin.
Props kjellr, Joen.
Fixes #49613 .
Built from https://develop.svn.wordpress.org/trunk@47587
git-svn-id: http://core.svn.wordpress.org/trunk@47362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-16 14:56:16 +00:00
ianbelanger
90f5e0576b
Bundled Themes: Twenty Nineteen decrease the font size for widget titles.
...
Update styles to decrease the font size for widget titles.
Props kjellr, mukesh27.
Fixes #45865 .
Built from https://develop.svn.wordpress.org/trunk@47586
git-svn-id: http://core.svn.wordpress.org/trunk@47361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-16 14:38:10 +00:00
Sergey Biryukov
38676936ba
Coding Standards: Use strict type check for in_array()
and array_search()
where strings are involved.
...
This reduces the number of `WordPress.PHP.StrictInArray.MissingTrueStrict` issues from 486 to 50.
Includes minor code layout fixes for better readability.
See #49542 .
Built from https://develop.svn.wordpress.org/trunk@47550
git-svn-id: http://core.svn.wordpress.org/trunk@47325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-05 03:02:11 +00:00
desrosj
64b3c852bf
Bundled Themes: Bump version numbers and update changelogs in default themes for WordPress 5.4.
...
Props ianbelanger, desrosj, SergeyBiryukov.
Fixes #49743 .
Built from https://develop.svn.wordpress.org/trunk@47539
git-svn-id: http://core.svn.wordpress.org/trunk@47314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 19:11:07 +00:00
Sergey Biryukov
402193798e
Twenty Nineteen: Update style-editor.css
after [47327].
...
Props ianbelanger.
See #48526 .
Built from https://develop.svn.wordpress.org/trunk@47537
git-svn-id: http://core.svn.wordpress.org/trunk@47312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 18:57:11 +00:00
Sergey Biryukov
116d909f58
Twenty Nineteen: Update style-rtl.css
after [47339].
...
Props ianbelanger.
See #49410 .
Built from https://develop.svn.wordpress.org/trunk@47536
git-svn-id: http://core.svn.wordpress.org/trunk@47311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-31 18:55:10 +00:00
ianbelanger
2e7235f7ca
Bundled Themes: Twenty Twenty Button block forces All Capital letters - revert [47531].
...
Reverts [47531] to add `text-transform: uppercase;` back to button blocks.
Props joyously.
Fixes #49710 .
Built from https://develop.svn.wordpress.org/trunk@47534
git-svn-id: http://core.svn.wordpress.org/trunk@47309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-30 18:29:08 +00:00
ianbelanger
340216b5eb
Bundled Themes: Twenty Twenty Button block forces All Capital letters.
...
Removes `text-transform: uppercase;` from button blocks in order to give the user the option to have a button without All Capital letters.
Props mukesh27.
Fixes #49710 .
Built from https://develop.svn.wordpress.org/trunk@47531
git-svn-id: http://core.svn.wordpress.org/trunk@47306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-30 15:20:07 +00:00
Sergey Biryukov
9aa864f1a7
Bundled Themes: Update calendar widget styles for 5.4 markup to fix the alignment of a single month link.
...
Follow-up to [47405].
Props sabernhardt.
Reviewed by ianbelanger, SergeyBiryukov.
Fixes #49549 .
Built from https://develop.svn.wordpress.org/trunk@47444
git-svn-id: http://core.svn.wordpress.org/trunk@47231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-10 20:53:06 +00:00
ianbelanger
4c1b25b5cc
Bundled Themes: Twenty Twenty content font CSS selector is too important - updated.
...
This adds more selectors for headings, tables, addresses, cite, figcaption, file and caption blocks to make the font-family match as before [47133].
Props alexandreb3, SergeyBiryukov.
Fixes #49318 .
Built from https://develop.svn.wordpress.org/trunk@47439
git-svn-id: http://core.svn.wordpress.org/trunk@47226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-09 19:48:07 +00:00
ianbelanger
27a52dec3e
Bundled Themes: Update calendar widget styles for 5.4 markup.
...
Fixes the alignment of month links in the calendar widget with the changes in version 5.4 for all Bundled Themes, except Twenty Thirteen, which was already fixed in #49546 .
Props sabernhardt.
Fixes #49549 .
Built from https://develop.svn.wordpress.org/trunk@47405
git-svn-id: http://core.svn.wordpress.org/trunk@47192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-02 16:55:08 +00:00
ianbelanger
7f26b262b2
Bundled Themes: Twenty Twenty searchform.php error.
...
Fixes phpcs error in the searchform.php file. The variables in this file were not prefixed correctly.
Props fahimmurshed.
Fixes #49523 .
Built from https://develop.svn.wordpress.org/trunk@47393
git-svn-id: http://core.svn.wordpress.org/trunk@47180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-28 20:56:06 +00:00
ianbelanger
3bfa7b9ef9
Bundled Themes: Twenty Thirteen update calendar widget styles for 5.4 markup.
...
Fixes the alignment of month links in the calendar widget with the changes in version 5.4
Props sabernhardt.
Fixes #49546 .
Built from https://develop.svn.wordpress.org/trunk@47392
git-svn-id: http://core.svn.wordpress.org/trunk@47179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-28 20:07:07 +00:00
Sergey Biryukov
19268546a5
Twenty Twenty: Replace quotation marks in starter content with HTML entities.
...
Props fahimmurshed.
Fixes #49534 .
Built from https://develop.svn.wordpress.org/trunk@47388
git-svn-id: http://core.svn.wordpress.org/trunk@47175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 22:00:07 +00:00
ianbelanger
5a6decf95c
Bundled Themes: Twenty Nineteen text color setting in pullquote block not applied.
...
Fixes the pullquote color setting by adding classes that are more specific to the color options.
Props ianbelanger.
Fixes #49410 .
Built from https://develop.svn.wordpress.org/trunk@47339
git-svn-id: http://core.svn.wordpress.org/trunk@47126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-21 14:59:09 +00:00
ianbelanger
a5cfb704bd
Bundled Themes: Twenty Nineteen Update margins in editor styles to address upcoming block editor margin changes.
...
Fixes the margins in the block editor to address recent changes in block margins.
Props Joen, SergeyBiryukov, kjellr, jffng, allancole.
Fixes #48526 .
Built from https://develop.svn.wordpress.org/trunk@47327
git-svn-id: http://core.svn.wordpress.org/trunk@47121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-20 16:40:06 +00:00
ianbelanger
4489fb7b36
Bundled Themes: Twenty Sixteen text color setting in pullquote block not applied.
...
Fixes the pullquote color setting by moving `color` from `blockquote p` to `blockquote`. Also adds the border-left to the front-end stylesheet to match the editor. Also adds styles for rtl pullquote.
Props kokkieh, desrosj, mukesh27, khushbu19, disillusia, aliveic, abrightclearweb, SergeyBiryukov.
Fixes #47019 .
Built from https://develop.svn.wordpress.org/trunk@47273
git-svn-id: http://core.svn.wordpress.org/trunk@47073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-11 19:38:05 +00:00
ianbelanger
97524fd300
Bundled Themes: Twenty Twenty property border-style is overwritten - coding standard.
...
Fixes coding standard violations in the classic editor stylesheets.
Props ankitmaru.
Fixes #49006 .
Built from https://develop.svn.wordpress.org/trunk@47264
git-svn-id: http://core.svn.wordpress.org/trunk@47064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-11 16:11:06 +00:00
ianbelanger
99f402dc62
Bundled Themes: Twenty Twenty post navigation links outside of the container.
...
Fixes a bug where the in-page pagination does not align within the inner container.
Props ataurr, audrasjb, mukesh27.
Fixes #48979 .
Built from https://develop.svn.wordpress.org/trunk@47244
git-svn-id: http://core.svn.wordpress.org/trunk@47044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-10 19:25:05 +00:00
ianbelanger
598b2889a9
Bundled Themes: Twenty Twenty add WhatsApp to the social icon menu.
...
This adds WhatsApp as an option in the social icon menu.
Props rryyaanndd, audrasjb.
Fixes #49098 .
Built from https://develop.svn.wordpress.org/trunk@47243
git-svn-id: http://core.svn.wordpress.org/trunk@47043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-10 19:12:05 +00:00
Sergey Biryukov
762140cc6b
Twenty Nineteen: Add the missing inc/helper-functions.php
file.
...
Follow-up to [47214].
Props kjellr, jffng.
Fixes #45984 .
Built from https://develop.svn.wordpress.org/trunk@47242
git-svn-id: http://core.svn.wordpress.org/trunk@47042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-10 19:07:06 +00:00
ianbelanger
2b52ae5c1b
Bundled Themes: Twenty Twenty Author Bio/Post Meta Width in Cover Template in Mobile.
...
Fixes a bug where the author bio and post meta have no left or right padding in smaller viewports.
Props JarretC.
Fixes #49254 .
Built from https://develop.svn.wordpress.org/trunk@47241
git-svn-id: http://core.svn.wordpress.org/trunk@47041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-10 18:25:07 +00:00
Sergey Biryukov
641c632b0c
Coding Standards: Use Yoda conditions where appropriate.
...
See #49222 .
Built from https://develop.svn.wordpress.org/trunk@47219
git-svn-id: http://core.svn.wordpress.org/trunk@47019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-09 16:55:09 +00:00
Sergey Biryukov
297aa098ae
Twenty Nineteen: Improve code organization in template-functions.php
by moving helper functions into their own file.
...
These functions are moved to `inc/helper-functions.php`:
* `twentynineteen_can_show_post_thumbnail()`
* `twentynineteen_image_filters_enabled()`
* `twentynineteen_get_avatar_size()`
* `twentynineteen_is_comment_by_post_author()`
* `twentynineteen_get_discussion_data()`
* `twentynineteen_hsl_hex()`
Additionally, `twentynineteen_add_dropdown_icons()` is moved to `inc/icon-functions.php` to join `twentynineteen_nav_menu_social_icons()`.
Props akshayar, allancole, grapplerulrich.
Fixes #45984 .
Built from https://develop.svn.wordpress.org/trunk@47214
git-svn-id: http://core.svn.wordpress.org/trunk@47014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-08 13:01:06 +00:00
Sergey Biryukov
47ed56f38f
Code Modernization: Replace dirname( __FILE__ )
calls with __DIR__
magic constant.
...
This avoids the performance overhead of the function call every time `dirname( __FILE__ )` was used instead of `__DIR__`.
This commit also includes:
* Removing unnecessary parentheses from `include`/`require` statements. These are language constructs, not function calls.
* Replacing `include` statements for several files with `require_once`, for consistency:
* `wp-admin/admin-header.php`
* `wp-admin/admin-footer.php`
* `wp-includes/version.php`
Props ayeshrajans, desrosj, valentinbora, jrf, joostdevalk, netweb.
Fixes #48082 .
Built from https://develop.svn.wordpress.org/trunk@47198
git-svn-id: http://core.svn.wordpress.org/trunk@46998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-06 06:33:11 +00:00
ianbelanger
02d01de6c5
Bundled Themes: Twenty Twenty Menu rendering problem Unicode (Bangla).
...
Fixes a bug where certain words break on to a second line in the primary and footer menus, in certain languages.
Props smallprogrammers, Shital Patel, mukesh27, audrasjb.
Fixes #48970 .
Built from https://develop.svn.wordpress.org/trunk@47192
git-svn-id: http://core.svn.wordpress.org/trunk@46992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-05 15:02:05 +00:00
Sergey Biryukov
3b9cddaea5
Twenty Nineteen: Remove duplicate font-size
property.
...
The theme does not use a `px` fallback for `rem` units anywhere else.
Follow-up to [47053] for Twenty Twenty.
See #49015 .
Built from https://develop.svn.wordpress.org/trunk@47140
git-svn-id: http://core.svn.wordpress.org/trunk@46940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-31 00:09:08 +00:00
ianbelanger
9fc09b2720
Fixes PHPCS Introduced in [47135].
...
There was extra whitespace in the previous commit, this removes it.
See #48552
Built from https://develop.svn.wordpress.org/trunk@47139
git-svn-id: http://core.svn.wordpress.org/trunk@46939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 21:55:05 +00:00
Sergey Biryukov
d80131190f
Twenty Nineteen: Standardize the Required PHP and Tested Up To headers.
...
* Remove `WordPress` from `Requires at least` headers.
* Ensure the `Requires at least` and `Requires PHP` headers are present in the `style.css` file.
Follow-up to [46676], which updated `style-rtl.css`, but not `style.scss` or `style.css`.
See #48517 .
Built from https://develop.svn.wordpress.org/trunk@47136
git-svn-id: http://core.svn.wordpress.org/trunk@46936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 20:04:05 +00:00
ianbelanger
dae1032531
Bundled Themes: Twenty Twenty add theme support for responsive embeds.
...
Adds the call to `responsive-embed` theme support in order to fix issues with facebook embeds not being responsive at certain screen widths.
Props williampatton, nielslange.
Fixes #48552 .
Built from https://develop.svn.wordpress.org/trunk@47135
git-svn-id: http://core.svn.wordpress.org/trunk@46935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 19:21:07 +00:00
ianbelanger
481bbb3128
Bundled Themes: Twenty Twenty content font CSS selector is too important.
...
This makes the font family selector for `entry-content` less specific and thus easier to override.
Props alexandreb3, larrach, audrasjb.
Fixes #49318 .
Built from https://develop.svn.wordpress.org/trunk@47133
git-svn-id: http://core.svn.wordpress.org/trunk@46933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 18:28:07 +00:00
Sergey Biryukov
001ffe81fb
Docs: Improve inline comments per the documentation standards.
...
Includes minor code layout fixes for better readability.
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47122
git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:45:18 +00:00
Sergey Biryukov
c9c2ff21f5
Twenty Twenty: Remove unnecessary escaping of get_the_title()
in comments.php
.
...
For users with the `unfiltered_html` capability, titles can contain legitimate markup.
The title is filtered on saving, so the content in the database is considered safe.
Props kjellr, joyously, peterwilsoncc.
Fixes #49190 .
Built from https://develop.svn.wordpress.org/trunk@47110
git-svn-id: http://core.svn.wordpress.org/trunk@46910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-25 22:06:07 +00:00
Sergey Biryukov
2900bb8ea7
Docs: Update links to https://secure.php.net/ , they now redirect to https://www.php.net/ .
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47088
git-svn-id: http://core.svn.wordpress.org/trunk@46888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 03:14:06 +00:00
desrosj
a24f5ccd1f
Bundled Themes: Remove duplicate font-size
property in Twenty Twenty.
...
Props ankitmaru.
Fixes #49015 .
Built from https://develop.svn.wordpress.org/trunk@47053
git-svn-id: http://core.svn.wordpress.org/trunk@46853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-08 16:50:04 +00:00
Sergey Biryukov
3fe8bdfca7
Happy New Year!
...
Update copyright year to 2020 in bundled themes' `readme.txt`.
Built from https://develop.svn.wordpress.org/trunk@47026
git-svn-id: http://core.svn.wordpress.org/trunk@46826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-01 03:53:01 +00:00
Sergey Biryukov
fef26f8d1f
Coding Standards: Fix WPCS issue in [47019].
...
See #49091 .
Built from https://develop.svn.wordpress.org/trunk@47020
git-svn-id: http://core.svn.wordpress.org/trunk@46820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-29 22:32:00 +00:00
Sergey Biryukov
7590296984
Twenty Twenty: Remove extra space from arrow-down-circled
icon name in TwentyTwenty_SVG_Icons::$ui_icons
.
...
Props kitchin.
Fixes #49091 .
Built from https://develop.svn.wordpress.org/trunk@47019
git-svn-id: http://core.svn.wordpress.org/trunk@46819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-29 20:45:06 +00:00
ianbelanger
48692b6524
Bundled Themes: Bump version number and update changelog in Twenty Twenty for WordPress 5.3.1.
...
This bumps the Twenty Twenty version number to `1.1` and update the `readme.txt` changelog.
Props audrasjb, sinatrateam, SergeyBiryukov
Fixes #48944 .
Built from https://develop.svn.wordpress.org/trunk@46902
git-svn-id: http://core.svn.wordpress.org/trunk@46702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-12 18:26:03 +00:00
Sergey Biryukov
303180b392
Twenty Twenty: Adjust the comment in [46851] per the documentation standards.
...
See #48876 .
Built from https://develop.svn.wordpress.org/trunk@46854
git-svn-id: http://core.svn.wordpress.org/trunk@46654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 16:18:02 +00:00
ianbelanger
48fbea17d6
Bundled Themes: Misaligned input placeholder text Twenty Twenty.
...
This fixes placeholder misalignment in Firefox when a `height` is added as an inline style to the input field.
Props aljullu, subratamal.
Fixes #48876 .
Built from https://develop.svn.wordpress.org/trunk@46851
git-svn-id: http://core.svn.wordpress.org/trunk@46651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 15:10:00 +00:00
Sergey Biryukov
35985cbf38
Twenty Twenty: Remove redundant echo
for bloginfo()
call in footer.php
.
...
Props acosmin.
Fixes #48918 .
Built from https://develop.svn.wordpress.org/trunk@46849
git-svn-id: http://core.svn.wordpress.org/trunk@46649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 15:00:01 +00:00
ianbelanger
b051b9a0d4
Bundled Themes: Make checkbox in comment form larger Twenty Twenty.
...
This makes the checkbox in the comment form larger and more consistent with other checkboxes.
Props kharisblank, audrasjb.
Fixes #48652 .
Built from https://develop.svn.wordpress.org/trunk@46844
git-svn-id: http://core.svn.wordpress.org/trunk@46644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 14:08:03 +00:00
Sergey Biryukov
23f45f0346
Twenty Twenty: Correct alignment for embedded Instagram posts.
...
Props SGr33n, audrasjb, nielslange, JarretC.
Fixes #48688 .
Built from https://develop.svn.wordpress.org/trunk@46840
git-svn-id: http://core.svn.wordpress.org/trunk@46640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 13:39:03 +00:00
Sergey Biryukov
6c49066de7
Twenty Twenty: Pass $post_meta
and $location
values to twentytwenty_start_of_post_meta_list
and twentytwenty_end_of_post_meta_list
actions to provide better context.
...
Props msaari, SergeyBiryukov.
Fixes #48906 .
Built from https://develop.svn.wordpress.org/trunk@46832
git-svn-id: http://core.svn.wordpress.org/trunk@46632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-09 11:49:02 +00:00
Sergey Biryukov
f11d28a779
Twenty Twenty: Use duplicate hook references for page_css_class
and page_menu_link_attributes
filters in TwentyTwenty_Walker_Page
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@46828
git-svn-id: http://core.svn.wordpress.org/trunk@46628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 14:03:03 +00:00
Sergey Biryukov
6677070a13
Bundled Themes: Correct @since
tags to refer to the theme version instead of WordPress version.
...
This makes `@since` notations in Twenty Seventeen, Twenty Nineteen, and Twenty Twenty consistent with the previous bundled themes.
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@46827
git-svn-id: http://core.svn.wordpress.org/trunk@46627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 13:56:06 +00:00
Sergey Biryukov
0f971e68ec
Twenty Twenty: Replace Smooth Scroll JS implementation with scroll-behavior
CSS property.
...
The JS implementation had multiple issues and did not work as expected.
This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns
Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Fixes #48763 , #48551 , #48866 .
Built from https://develop.svn.wordpress.org/trunk@46824
git-svn-id: http://core.svn.wordpress.org/trunk@46624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 11:05:01 +00:00
ianbelanger
8d6912dd27
Bundled Themes: Adds Customizer option to show or hide author bio Twenty Twenty.
...
This adds an option to the Customizer that allows you to turn the author bio on or off, sitewide.
Props williampatton, nielslange acosmin, dlh.
Fixes #48550 .
Built from https://develop.svn.wordpress.org/trunk@46813
git-svn-id: http://core.svn.wordpress.org/trunk@46613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-04 15:59:03 +00:00
ianbelanger
c74c8cf5f1
Bundled Themes: Fixes JS TypeError in Twenty Twenty.
...
On mobile devices using a webkit browser, the menu and search modals could not be opened due to a `TypeError: document.body is null`. This commit fixes that issue by adding a `touch-enabled` class to the body for browsers that do not support media queries.
Props quicoto, poena, Boga86, acosmin, macmanx.
Fixes #48601 .
Built from https://develop.svn.wordpress.org/trunk@46786
git-svn-id: http://core.svn.wordpress.org/trunk@46586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-26 18:21:03 +00:00
Sergey Biryukov
a1ad168857
Twenty Twenty: Remove duplicate array key/value in TwentyTwenty_Non_Latin_Languages::get_non_latin_css()
.
...
Props manikmist09.
Fixes #48624 .
Built from https://develop.svn.wordpress.org/trunk@46765
git-svn-id: http://core.svn.wordpress.org/trunk@46565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-24 10:55:02 +00:00
Sergey Biryukov
0b5f3acd9f
Twenty Twenty: Correctly align the author bio and bottom post meta on single posts on mobile.
...
Props nielslange, Anlino.
Fixes #48619 .
Built from https://develop.svn.wordpress.org/trunk@46762
git-svn-id: http://core.svn.wordpress.org/trunk@46562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-23 14:54:04 +00:00
Sergey Biryukov
06ab7e3f6b
Twenty Twenty: Fix typos in a variable name and inline comment in assets/js/color-calculations.js
.
...
Props tanvirul.
Fixes #48704 .
Built from https://develop.svn.wordpress.org/trunk@46747
git-svn-id: http://core.svn.wordpress.org/trunk@46547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-18 17:07:01 +00:00
Sergey Biryukov
3696fadc2d
Bundled Themes: Update Twenty Twenty.
...
This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46715], see fa8c3fc...a9e73ab
.
Props Anlino, karmatosed, williampatton, poena, joyously, ianbelanger, chetan200891.
See #48110 , #48386 , #48450 , #48505 , #48557 .
Fixes #48571 .
Built from https://develop.svn.wordpress.org/trunk@46722
git-svn-id: http://core.svn.wordpress.org/trunk@46522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 18:24:03 +00:00
Sergey Biryukov
7ce88a02cd
Bundled Themes: Update copyright year in readme.txt
for Twenty Twelve and Twenty Twenty.
...
Follow-up to [46719].
See #48566 .
Built from https://develop.svn.wordpress.org/trunk@46720
git-svn-id: http://core.svn.wordpress.org/trunk@46520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 17:51:02 +00:00
Sergey Biryukov
7de0113520
Bundled Themes: Update copyright year in readme.txt
.
...
Add a unit test to ensure the year stays up to date.
Props dkarfa, SergeyBiryukov.
Fixes #48566 .
Built from https://develop.svn.wordpress.org/trunk@46719
git-svn-id: http://core.svn.wordpress.org/trunk@46519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 17:36:02 +00:00
Sergey Biryukov
46c8d07046
Bundled Themes: Update Twenty Twenty.
...
* Add `.has-background` excluding condition to wide and full group-blocks.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46714], see 162edc0...fa8c3fc
.
Props allancole, karmatosed.
See #48110 , #48386 , #48450 , #48505 .
Fixes #48557 .
Built from https://develop.svn.wordpress.org/trunk@46715
git-svn-id: http://core.svn.wordpress.org/trunk@46515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 02:06:01 +00:00
Sergey Biryukov
01685e57be
Bundled Themes: Update Twenty Twenty.
...
* Add a11y-friendly default text-colors when selecting a background-color.
* Remove margins for the group block when a background-color is set.
* Excluding pullquote block from width resize rules.
This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46711], see ab5fa23...162edc0
.
Props allancole, karmatosed.
See #48110 , #48386 , #48450 , #48505 .
Fixes #48557 .
Built from https://develop.svn.wordpress.org/trunk@46713
git-svn-id: http://core.svn.wordpress.org/trunk@46513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-12 01:44:02 +00:00
Sergey Biryukov
128147ccd5
Twenty Twenty: Make CSS adjustments to account for the latest editor changes and ensure that group blocks work in expected ways.
...
Props williampatton, allancole, karmatosed, pierlo, joen, ianbelanger.
Fixes #48557 .
Built from https://develop.svn.wordpress.org/trunk@46711
git-svn-id: http://core.svn.wordpress.org/trunk@46511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 20:56:02 +00:00
Sergey Biryukov
9fa094ea50
Twenty Twenty: Fix WPCS issue in [46701].
...
See #48557 .
Built from https://develop.svn.wordpress.org/trunk@46702
git-svn-id: http://core.svn.wordpress.org/trunk@46502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 12:59:00 +00:00
Sergey Biryukov
f29206f73c
Bundled Themes: Update Twenty Twenty.
...
This brings Twenty Twenty in sync with GitHub. For a full list of changes since 5.3 RC4, see c267289...898792b
.
Props williampatton, poena, andersnoren, desrosj, schlessera, leprincenoir, alextran, aristath, b-07.
See #48110 , #48386 , #48450 , #48505 .
Fixes #48557 .
Built from https://develop.svn.wordpress.org/trunk@46701
git-svn-id: http://core.svn.wordpress.org/trunk@46501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 12:29:01 +00:00
desrosj
24f21d628d
Bundled Themes: Standardize the Required PHP and Tested Up To headers.
...
This change makes several changes to ensure consistency and accuracy for default theme headers:
- Removes `WordPress` from `Requires at least` headers.
- Ensures the `Requires at least` and `Requires PHP` headers are present in every default theme’s `style.css` file.
- Ensures `Tested up to` is present in every `readme.txt` file.
- Removes any headers not processed in both the `style.css` and `readme.txt` files for each theme.
Props Otto42, afragen.
Fixes #48517 .
Built from https://develop.svn.wordpress.org/trunk@46676
git-svn-id: http://core.svn.wordpress.org/trunk@46476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-07 15:19:04 +00:00
desrosj
ffbde837e0
Bundled Themes: Update Twenty Twenty.
...
This brings Twenty Twenty in sync with GitHub. For a full list of changes since 5.3 RC3, see dea9290...c267289
.
Props williampatton, poena, andersnoren.
See #48110 , #48386 , #48450 , #48293 .
Fixes #48505 .
Built from https://develop.svn.wordpress.org/trunk@46668
git-svn-id: http://core.svn.wordpress.org/trunk@46468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-05 22:22:01 +00:00
Sergey Biryukov
8aae5cb572
Twenty Eleven: Add missing @deprecated
tag to PHP 4 constructor in Twenty_Eleven_Ephemera_Widget
.
...
Props jrf.
See #48252 .
Built from https://develop.svn.wordpress.org/trunk@46628
git-svn-id: http://core.svn.wordpress.org/trunk@46428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-02 20:08:00 +00:00
desrosj
b5cc5b37f7
Bundled Themes: Update Twenty Twenty.
...
This brings trunk’s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46571], see 4549fd9...dea9290
.
Props anlino, ianbelanger, poena, williampatton, collet, erikkroes, torres126, intimez, byalextran, mehidi258, swapnild, nielslange.
Fixes #48450 .
Built from https://develop.svn.wordpress.org/trunk@46613
git-svn-id: http://core.svn.wordpress.org/trunk@46410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-29 14:55:05 +00:00
desrosj
09d8704f0f
Ensure svn:eol-style
is consistently set for all files (part 2).
...
Continuation of [46586]
See #42594 .
Built from https://develop.svn.wordpress.org/trunk@46587
git-svn-id: http://core.svn.wordpress.org/trunk@46384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-25 19:29:04 +00:00
desrosj
16e5753b48
Bundled Themes: Update Twenty Twenty.
...
This brings `trunk`’s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46551], see bc89c51...4549fd9
.
Reviewed by SergeyBiryukov, desrosj, ianbelanger.
Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, intimez, itowhid06, decrecementofeliz, aristath, westonruter, mukesh27, jorgefilipecosta, karmatosed.
Fixes #48386 .
Built from https://develop.svn.wordpress.org/trunk@46571
git-svn-id: http://core.svn.wordpress.org/trunk@46368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-22 18:27:08 +00:00
desrosj
908961974e
Bundled Themes: Update Twenty Twenty.
...
This brings `trunk`’s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46445], see 7246fd6...bc89c51
.
Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyously, mahesh901122, josephscott, byalextran, amolv, Clorith.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46551
git-svn-id: http://core.svn.wordpress.org/trunk@46348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-15 18:47:02 +00:00
desrosj
6a38614ffe
Bundled Themes: Update/audit NPM dependencies for Twenty Nineteen.
...
Also, ignore the `node_modules` folder for Twenty Nineteen.
Fixes #48262 .
Built from https://develop.svn.wordpress.org/trunk@46450
git-svn-id: http://core.svn.wordpress.org/trunk@46248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 22:19:02 +00:00
Dominik Schilling
0b67a91c1c
Bundled Themes: Fix JSHint error in [46445]
...
Props ianbelanger.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46447
git-svn-id: http://core.svn.wordpress.org/trunk@46245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 19:52:03 +00:00
desrosj
a734d8eea1
Bundled Themes: Update Twenty Twenty.
...
This brings `trunk`'s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46357], see 7157870...7246fd6
.
Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 19:08:07 +00:00
Sergey Biryukov
bcd53396f1
Twenty Fourteen: Replace overly broad float-clearing selectors with more specific ones, to avoid unintentionally targeting elements generated by plugins.
...
Props ianbelanger, iandunn, karmatosed.
Fixes #35779 .
Built from https://develop.svn.wordpress.org/trunk@46430
git-svn-id: http://core.svn.wordpress.org/trunk@46228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 02:02:03 +00:00
Sergey Biryukov
d294597e6e
Twenty Fourteen: Ensure the content after the Read More tag is visible and has the appropriate padding.
...
Props ianbelanger, sabernhardt, slobodanmanic, Quantumstate, Gwendydd, andraganescu, francina.
Fixes #28967 .
Built from https://develop.svn.wordpress.org/trunk@46429
git-svn-id: http://core.svn.wordpress.org/trunk@46227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 01:54:01 +00:00
desrosj
2abcce6dfc
Bundled Themes: Update Twenty Twenty.
...
This brings `trunk`’s version of Twenty Twenty in-sync with GitHub.
For a complete list of changes since [46271], see 932b16248...dd7032f
Props anlino, ianbelanger, nielslange, acosmin, netweb, williampatton, adhitya03, phpdocs, acalfieri, itowhid06, littlebigthing, aristath, karmatosed, poena.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46357
git-svn-id: http://core.svn.wordpress.org/trunk@46156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-30 17:41:57 +00:00
Sergey Biryukov
6e25a991a6
Twenty Nineteen: Remove trailing comma after selector in sass/site/primary/_posts-and-pages.scss
.
...
Props itowhid06.
Fixes #48171 .
Built from https://develop.svn.wordpress.org/trunk@46347
git-svn-id: http://core.svn.wordpress.org/trunk@46146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-29 22:40:57 +00:00
whyisjake
2822281c57
Themes: Fix javascript regression that linter found.
...
Tests were failing from line length optimizations and double quotes.
Fixes #37536
Built from https://develop.svn.wordpress.org/trunk@46310
git-svn-id: http://core.svn.wordpress.org/trunk@46109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-25 22:12:57 +00:00
whyisjake
0acc444279
Themes: Improve Twenty Fifteen sticky sidebar logic
...
The current logic in TwentyFifteen (#30366 ) for making the sidebar sticky while still allowing to scroll through it when the sidebar height is larger than the viewport height is flawed and massively overcomplicated.
This can be mitigated by removing the admin bar specific logic and leaving most of the heavy lifting up to the browser.
Fixes #37536
Props DvanKooten, lukecavanagh, karmatosed, ianbelanger, davidbaumwald
Built from https://develop.svn.wordpress.org/trunk@46308
git-svn-id: http://core.svn.wordpress.org/trunk@46107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-25 21:38:58 +00:00
Sergey Biryukov
75ca249558
Twenty Twenty: Rename widget areas to sidebar-1
and sidebar-2
.
...
This ensures that widgets are mapped correctly and is consistent with the previous default themes.
See https://github.com/WordPress/twentytwenty/issues/481 .
Reverts [46282].
Props ocean90, garrett-eclipse, desrosj, SergeyBiryukov.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46283
git-svn-id: http://core.svn.wordpress.org/trunk@46095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 23:17:58 +00:00
desrosj
1a961be653
Bundled Themes: Fix failing tests for Twenty Twenty.
...
Follow up of [46271].
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46277
git-svn-id: http://core.svn.wordpress.org/trunk@46089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 20:54:57 +00:00
desrosj
43b86a246c
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
...
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/ .
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110 .
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 20:16:00 +00:00
Andrea Fercia
fa5fb55e1d
Accessibility: Twenty Nineteen: Improve the special pages headings.
...
Improves information provided by the headings, their alignment and spacing in the following special pages:
- search page with and without search results
- 404 page (no content)
- archive pages
Props ianbelanger, kjellr, nrqsnchz, audrasjb.
Fixes #47140 .
Built from https://develop.svn.wordpress.org/trunk@46234
git-svn-id: http://core.svn.wordpress.org/trunk@46046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-22 21:59:56 +00:00
Andrea Fercia
c4b1daa1f2
Accessibility: Bundled Theme: Make the TwentyEleven skip link the first focusable element within the body.
...
Props poena, williampatton.
Fixes #47891 .
Built from https://develop.svn.wordpress.org/trunk@46195
git-svn-id: http://core.svn.wordpress.org/trunk@46007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-20 11:42:00 +00:00
Sergey Biryukov
42d52ce080
Bundled Themes: Declare HTML5 support for scripts and styles.
...
Fixes #42804 .
Built from https://develop.svn.wordpress.org/trunk@46165
git-svn-id: http://core.svn.wordpress.org/trunk@45977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-18 14:51:56 +00:00
Sergey Biryukov
8e29221da4
Bundled Themes: Update the message shown when a comment is awaiting moderation.
...
If the commenter doesn't have cookies set, they won't see the comment preview again. Showing an expanded message will help offset any confusion if they revisit the site later, and their comment is still in moderation, but they can't see it anymore.
Props birgire, superpoincare.
Fixes #47461 . See #43857 .
Built from https://develop.svn.wordpress.org/trunk@46117
git-svn-id: http://core.svn.wordpress.org/trunk@45929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-14 21:00:56 +00:00
Sergey Biryukov
dcb08f0637
Docs: Fix placement of some duplicate hook references.
...
Hook documentation should be on the line directly above the line containing the `do_action()` or `apply_filters()` call. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of duplicate hook references.
Includes minor code layout fixes.
See #47110 .
Built from https://develop.svn.wordpress.org/trunk@46088
git-svn-id: http://core.svn.wordpress.org/trunk@45900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-10 19:23:55 +00:00
Andrea Fercia
187d747198
Bundled Theme: Twenty Nineteen: Use human-friendly color names.
...
For better accessibility, the Primary and Secondary theme colors have now more understandable names.
Changes the names "Primary" and "Secondary" to "Blue" and "Dark Blue". Fallbacks to the `hex` color codes when the theme is set to use a custom Primary color.
Props kjellr, aduth, audrasjb.
Fixes #46698 .
Built from https://develop.svn.wordpress.org/trunk@45964
git-svn-id: http://core.svn.wordpress.org/trunk@45775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:47:10 +00:00
Andrea Fercia
8cb7918905
Bundled Theme: Twenty Nineteen: Fix the nesting of the main
element.
...
The `main` element must not appear as a descendant of the `section` element. Correct markup is the first requirement to make user agents and assistive technologies work properly.
Changes the `<section>` element that was wrapping the `<main>` element to a `<div>`.
Props albertomake, ryelle, desrosj, ianbelanger, audrasjb.
Fixes #47066 .
Built from https://develop.svn.wordpress.org/trunk@45942
git-svn-id: http://core.svn.wordpress.org/trunk@45753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-04 16:27:54 +00:00
Sergey Biryukov
e199663322
I18N: Capitalize translator comments consistently, add trailing punctuation.
...
Includes minor code layout fixes.
See #44360 .
Built from https://develop.svn.wordpress.org/trunk@45932
git-svn-id: http://core.svn.wordpress.org/trunk@45743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-03 00:41:05 +00:00
Sergey Biryukov
f447c32aca
Twenty Nineteen: Remove unused jQuery argument passed to an IIFE that accepts no arguments.
...
Props Christian1012, hareesh-pillai.
Fixes #40333 .
Built from https://develop.svn.wordpress.org/trunk@45923
git-svn-id: http://core.svn.wordpress.org/trunk@45734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-31 20:53:54 +00:00
Sergey Biryukov
4d7cc73e17
Twenty Seventeen: Remove unused jQuery argument passed to an IIFE that accepts no arguments.
...
Props Christian1012, hareesh-pillai.
See #40333 .
Built from https://develop.svn.wordpress.org/trunk@45922
git-svn-id: http://core.svn.wordpress.org/trunk@45733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-31 20:52:56 +00:00
Sergey Biryukov
ceefe26e9e
Twenty Nineteen: Correct file name in JS DocBlocks.
...
See #47110 .
Built from https://develop.svn.wordpress.org/trunk@45921
git-svn-id: http://core.svn.wordpress.org/trunk@45732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-31 20:43:55 +00:00
Sergey Biryukov
c9d8c89ebd
Twenty Nineteen: Improve compatibility with custom colors in the separator block.
...
Props kjellr.
Fixes #47811 .
Built from https://develop.svn.wordpress.org/trunk@45920
git-svn-id: http://core.svn.wordpress.org/trunk@45731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-30 19:15:56 +00:00
Sergey Biryukov
e30696bd20
Twenty Nineteen: Remove Baskerville Old Face from the font stack due to several shortcomings:
...
* Being difficult to read due to its mix of thin and thick strokes.
* Having poor language/extended character support.
* Not having other weights/styles (bold, italic, etc) and relying on browser approximations of those variants.
The next fonts down the stack (Garamond and Times) are more properly aligned to the appearance of the top-level serif font in the stack (Hoefler Text), and work better in its place.
Props kjellr, Rarst, justintadlock.
Fixes #45881 .
Built from https://develop.svn.wordpress.org/trunk@45919
git-svn-id: http://core.svn.wordpress.org/trunk@45730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-30 18:58:57 +00:00
Sergey Biryukov
cc21760163
Twenty Nineteen: Make sure center-aligned images in columns do not break beyond the column boundaries.
...
Props kjellr.
Fixes #47937 .
Built from https://develop.svn.wordpress.org/trunk@45897
git-svn-id: http://core.svn.wordpress.org/trunk@45708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-26 19:01:55 +00:00
Sergey Biryukov
9dc2a432b1
Twenty Nineteen: Update style-rtl.css
after [45773].
...
See #47850 .
Built from https://develop.svn.wordpress.org/trunk@45896
git-svn-id: http://core.svn.wordpress.org/trunk@45707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-26 19:00:58 +00:00
desrosj
e7c8b21e71
Coding Standards: Dynamic hooks should be named using interpolation not concatenation.
...
Props arena, desrosj.
Fixes #47052 .
Built from https://develop.svn.wordpress.org/trunk@45881
git-svn-id: http://core.svn.wordpress.org/trunk@45692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-22 19:08:55 +00:00
Sergey Biryukov
40d4037fa6
Twenty Seventeen: Fix tabs vs. spaces in [45764].
...
See #47414 .
Built from https://develop.svn.wordpress.org/trunk@45863
git-svn-id: http://core.svn.wordpress.org/trunk@45674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 19:12:50 +00:00
Sergey Biryukov
18d991bfc0
Twenty Eleven: Fix tabs vs. spaces in [45763].
...
See #47414 .
Built from https://develop.svn.wordpress.org/trunk@45862
git-svn-id: http://core.svn.wordpress.org/trunk@45673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 19:11:55 +00:00
Sergey Biryukov
561e17c1a4
Twenty Seventeen: Adjust [45764] to conform to CSS Coding Standards.
...
See #47414 .
Built from https://develop.svn.wordpress.org/trunk@45861
git-svn-id: http://core.svn.wordpress.org/trunk@45672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 19:07:49 +00:00
Sergey Biryukov
4a8c0b1498
Twenty Eleven: Adjust [45763] to conform to CSS Coding Standards.
...
See #47414 .
Built from https://develop.svn.wordpress.org/trunk@45860
git-svn-id: http://core.svn.wordpress.org/trunk@45671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-20 19:06:54 +00:00
Sergey Biryukov
6e060079ae
Twenty Sixteen: Correct HelpHub URL in readme.txt
.
...
See #47771 .
Built from https://develop.svn.wordpress.org/trunk@45776
git-svn-id: http://core.svn.wordpress.org/trunk@45587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-09 13:53:56 +00:00
Sergey Biryukov
092872c3fc
Twenty Nineteen: Add missing Installation
section to readme.txt
, for consistency with other themes.
...
See #47857 .
Built from https://develop.svn.wordpress.org/trunk@45775
git-svn-id: http://core.svn.wordpress.org/trunk@45586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-09 13:42:57 +00:00
Sergey Biryukov
aaea839402
Twenty Nineteen: Add missing copyright information.
...
Props poena, kjellr.
Fixes #47857 .
Built from https://develop.svn.wordpress.org/trunk@45774
git-svn-id: http://core.svn.wordpress.org/trunk@45585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-09 13:36:58 +00:00
Sergey Biryukov
441a3c97e0
Twenty Nineteen: Correct license URI.
...
Props munyagu, shital-patel.
Fixes #47850 .
Built from https://develop.svn.wordpress.org/trunk@45773
git-svn-id: http://core.svn.wordpress.org/trunk@45584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-09 02:57:59 +00:00
Sergey Biryukov
83187125e4
Bundled Themes: Audit and update version numbers passed to wp_enqueue_script()
to ensure proper cache busting.
...
Props dswebsme, ianbelanger, justinahinon.
Fixes #46981 .
Built from https://develop.svn.wordpress.org/trunk@45768
git-svn-id: http://core.svn.wordpress.org/trunk@45579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-08 01:29:58 +00:00
Sergey Biryukov
e0563013ed
Bundled Themes: Audit and update version numbers passed to wp_enqueue_style()
to ensure proper cache busting.
...
Props dswebsme, ianbelanger, desrosj.
Fixes #46979 .
Built from https://develop.svn.wordpress.org/trunk@45767
git-svn-id: http://core.svn.wordpress.org/trunk@45578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-08 01:25:58 +00:00
Sergey Biryukov
aa4ab3acdc
Twenty Seventeen: Correct height for a Button block without text.
...
Props ianbelanger, laurelfulford, nayana123.
Fixes #47414 .
Built from https://develop.svn.wordpress.org/trunk@45764
git-svn-id: http://core.svn.wordpress.org/trunk@45575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-07 11:57:54 +00:00
Sergey Biryukov
64202a7ca3
Twenty Eleven: Correct height for a Button block without text.
...
Props ianbelanger, laurelfulford, nayana123.
See #47414 .
Built from https://develop.svn.wordpress.org/trunk@45763
git-svn-id: http://core.svn.wordpress.org/trunk@45574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-07 11:56:57 +00:00
Sergey Biryukov
de099aec14
Twenty Nineteen: Revise Latest Posts block styles to support post content options.
...
Props kjellr, ianbelanger.
Fixes #47340 .
Built from https://develop.svn.wordpress.org/trunk@45761
git-svn-id: http://core.svn.wordpress.org/trunk@45572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-07 11:48:57 +00:00
Sergey Biryukov
72b11e3322
Twenty Nineteen: Remove duplicate height
and width
attributes from SVG icons.
...
The attributes are added via `TwentyNineteen_SVG_Icons::get_svg()`, there's no need to have them separately in SVG sources.
Props mukesh27, albertomake.
Fixes #47128 .
Built from https://develop.svn.wordpress.org/trunk@45760
git-svn-id: http://core.svn.wordpress.org/trunk@45571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-07 11:41:54 +00:00
Sergey Biryukov
ad46ef7c06
Twenty Thirteen: Make twentythirteen_author_bio_template()
use author templates if exist, fall back to regular template hierarchy otherwise.
...
See #32096 .
Built from https://develop.svn.wordpress.org/trunk@45721
git-svn-id: http://core.svn.wordpress.org/trunk@45532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-02 03:09:55 +00:00