Commit Graph

1253 Commits

Author SHA1 Message Date
Jonathan Desrosiers
7fc0ad094e 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50976 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-24 18:40:16 +00:00
Jonathan Desrosiers
5da4eb1661 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50975 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-24 18:32:17 +00:00
Jonathan Desrosiers
4667ee6efe 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50974 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-24 18:08:16 +00:00
Jonathan Desrosiers
3236645ae7 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50972 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-24 15:36:45 +00:00
David Baumwald
d52fa9312c 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50933 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-19 18:38:53 +00:00
Sergey Biryukov
00824d128a 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50925 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-18 12:47:37 +00:00
Sergey Biryukov
0900cb8144 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50924 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-18 12:46:01 +00:00
David Baumwald
a035830160 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50841 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-11 18:24:38 +00:00
Sergey Biryukov
86d09a09a4 Twenty Twenty-One: Fix "Opening PHP tag must be on a line by itself" WPCS issue.
Follow-up to [50802].

See #52938.

git-svn-id: https://develop.svn.wordpress.org/trunk@50806 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-03 14:33:21 +00:00
Sergey Biryukov
955df634d1 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50802 602fd350-edb4-49c9-b593-d223f7449a82
2021-05-01 18:12:22 +00:00
Peter Wilson
021b2a3753 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@50708 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-13 23:47:25 +00:00
Jonathan Desrosiers
715c5db575 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50669 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 14:41:35 +00:00
Jonathan Desrosiers
57db16646b Twenty Twenty-One: Rebuild IE specific editor stylesheet.
This was not updated to include the changes from [50493].

Fixes #52981. See #52702.

git-svn-id: https://develop.svn.wordpress.org/trunk@50667 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 14:10:17 +00:00
Jonathan Desrosiers
5a49965d1b 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50666 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-06 14:05:30 +00:00
Jonathan Desrosiers
b0ba22fcaf 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50596 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-26 15:26:08 +00:00
Sergey Biryukov
a33ee3511a 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50534 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-15 13:24:24 +00:00
Jonathan Desrosiers
94e3c028e6 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50507 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-08 14:15:53 +00:00
Jonathan Desrosiers
401fb2f60c 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50493 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-04 16:55:16 +00:00
Kelly Choyce-Dwan
7d0cb86544 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50466 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-01 23:24:13 +00:00
Kelly Choyce-Dwan
95e79ab35a 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50465 602fd350-edb4-49c9-b593-d223f7449a82
2021-03-01 21:56:06 +00:00
adamsilverstein
e4ce30bfca 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50423 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-23 20:15:02 +00:00
Kelly Choyce-Dwan
ccbfdd1485 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50388 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-18 20:44:24 +00:00
Sergey Biryukov
e23d442cd9 Twenty Nineteen: Add some space between the cookies checkbox and label in comment form.
Props sabernhardt, garrett-eclipse, mukesh27, monikarao, Boniu91.
Fixes #46601.

git-svn-id: https://develop.svn.wordpress.org/trunk@50365 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 20:13:48 +00:00
Kelly Choyce-Dwan
55f2f3f67b 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50364 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 20:10:19 +00:00
Sergey Biryukov
0ff408d563 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50361 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 19:25:26 +00:00
Sergey Biryukov
0337b93b01 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50360 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 19:24:40 +00:00
Sergey Biryukov
5334a8dcca 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50359 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 19:09:55 +00:00
Kelly Choyce-Dwan
686448dde2 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50358 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 18:57:31 +00:00
Peter Wilson
d9ceb1c434 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50351 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-16 02:24:11 +00:00
Peter Wilson
62614d976b 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50350 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-15 23:50:06 +00:00
Peter Wilson
ed55dc802e Twenty Twenty-One: Add CSS source map files to committed files.
Remove `*.css.map` files from the ignore properties of Twenty Twenty-One directories, add the unignored files.

Props poena, peterwilsoncc.
Fixes #52377.



git-svn-id: https://develop.svn.wordpress.org/trunk@50348 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-15 23:09:27 +00:00
Kelly Choyce-Dwan
caffd32f52 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50347 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-15 18:54:02 +00:00
Kelly Choyce-Dwan
c3bf0a2fec Twenty Thirteen: Fix alignment of child blocks within the Cover block.
Props kjellr, melchoyce.
Fixes #51224.



git-svn-id: https://develop.svn.wordpress.org/trunk@50346 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-15 18:31:01 +00:00
Peter Wilson
37f41ee040 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50293 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 00:01:08 +00:00
Sergey Biryukov
93db55f9be Twenty Twenty: Make ordered list styling in classic editor match the front-end style.
Props sabernhardt, sebastienserre, hareesh-pillai.
Fixes #50454.

git-svn-id: https://develop.svn.wordpress.org/trunk@50275 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 17:53:00 +00:00
Sergey Biryukov
22ffa08799 Twenty Twenty-One: Use correct value for the global line-height CSS variable.
Props acerempel, mukesh27, dd32, poena.
Fixes #52477.

git-svn-id: https://develop.svn.wordpress.org/trunk@50273 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 17:08:31 +00:00
Jonathan Desrosiers
73c1b28ec7 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50269 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 14:54:48 +00:00
Peter Wilson
c25dcaf5e8 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@50262 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 03:53:14 +00:00
Peter Wilson
59ff18165e Twenty Twenty-One: Adapt vertical buttons to text length.
Display vertically aligned buttons as inline elements.

Props poena, paaljoachim, hellofromTonya, jeroenrotty, rolfsiebers.
Fixes #52432.



git-svn-id: https://develop.svn.wordpress.org/trunk@50261 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 03:42:43 +00:00
Peter Wilson
223bd0ee52 Twenty Twenty-One: Support font size option for code block.
Props poena, paaljoachim, hellofromTonya.
See #52431.



git-svn-id: https://develop.svn.wordpress.org/trunk@50260 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-09 03:22:42 +00:00
Sergey Biryukov
ef0a312dc1 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50234 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-07 12:42:06 +00:00
Sergey Biryukov
cf8928cdfc Twenty Twenty-One: Capitalize translator comments consistently.
Follow-up to [45932].

See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@50233 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-07 12:26:41 +00:00
Jonathan Desrosiers
d96e9c4839 Twenty Twenty-One: Fix wrapping for long text within comments.
This ensures that word wrapping occurs within comment content. 

Props mayankmajeji, audrasjb.
Fixes #52380.

git-svn-id: https://develop.svn.wordpress.org/trunk@50158 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-02 19:38:16 +00:00
Anthony Burchell
5dad681286 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@50154 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-02 18:27:20 +00:00
Sergey Biryukov
51f88a4dfb Twenty Twenty-One: Correct filter name in twenty_twenty_one_get_starter_content() DocBlock.
Props sabernhardt.
Fixes #52410.

git-svn-id: https://develop.svn.wordpress.org/trunk@50118 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-01 11:47:24 +00:00
Jonathan Desrosiers
5e39171693 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50081 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-29 21:10:16 +00:00
Jonathan Desrosiers
2841088ce1 Twenty Nineteen: Update the RTL stylesheet with the block-patterns tag.
Rebuilding the RTL stylesheet was missed in [49585].

See #51098, #51099.

git-svn-id: https://develop.svn.wordpress.org/trunk@50080 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-29 21:06:27 +00:00
Jonathan Desrosiers
6d08c03c6f Twenty Twenty: Update @wordpress/scripts to the latest version.
See #51801.

git-svn-id: https://develop.svn.wordpress.org/trunk@50079 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-29 20:44:07 +00:00
Jonathan Desrosiers
d6c7d0010b 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50077 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-29 20:25:42 +00:00
Jonathan Desrosiers
5ad5060243 Twenty Twenty: Update the RTL stylesheet with the block-patterns tag.
Rebuilding the RTL stylesheet was missed in [49585].

See #51098, #51099.

git-svn-id: https://develop.svn.wordpress.org/trunk@50076 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-29 20:08:48 +00:00