The `postcss.config.js` file in Twenty Ninteen currently has two `module.exports` asignments configuring two plugins: `autoprefixer` (for ensuring browser-specific CSS nuances are accounted for) and `postcss-focus-within` (ensures `:fucs-within` rules are duplicated as `[focus-within]` attribute selectors).
The first assignment is being ignored entirely, which means `autoprefixer` never runs against generated CSS files.
This updates the `postcss.config.js` file to contain only one `modules.export` statement, which restores the behavior of `autoprefixer`. The dependencies related to browser usage statistics have also been updated, and the resulting changes to built CSS files subject to version control are also included:
- Browser-specific prefixes for the `hyphens` property have been removed.
- The `::-moz-selection` is no longer required for the `::selection` psuedo-element.
- Brower-specific prefixes are no longer required for `min-content` and `max-content` values.
- Webkit browsers no longer require a `-webkit-` prefix for `user-select: none`.
- The `-webkit-` prefix is no longer required for the `filter` property.
- The `text-decoration` property no longer requires browser prefixes.
Fixes#65452.
Built from https://develop.svn.wordpress.org/trunk@62510
git-svn-id: http://core.svn.wordpress.org/trunk@61791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Prevent the Twenty Twenty theme styles from overriding the Pullquote block's letter case settings.
Props paragjethva, hiteshtalpada, shailu25, poena, mukesh27, sukhendu2002, dhruvang21, ugyensupport, darshitrajyaguru97, sabernhardt, r1k0, joedolson.
Fixes#62773.
Built from https://develop.svn.wordpress.org/trunk@61743
git-svn-id: http://core.svn.wordpress.org/trunk@61049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix templates in Twenty Twenty Five that have multiple query posts with offsets to prevent displaying sticky posts. Sticky posts being enabled on multiple queries results in repeated content in each query.
Add `"sticky":"ignore"` to query block parameters.
Props poena, sabernhardt, abcd95, rinkalpagdar, freibergergarcia, akshat2802, mindctrl, ozgursar, joedolson.
Fixes#62975.
Built from https://develop.svn.wordpress.org/trunk@61720
git-svn-id: http://core.svn.wordpress.org/trunk@61028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
These are from the `WordPress-Extra` standard, which is not included in the `phpcs.xml.dist` configuration (the repository uses `WordPress-Core`).
Includes removing unnecessary `WPThemeReview` annotations carried over from upstream.
Follow-up to [49216].
Props rodrigosprimo.
See #64627.
Built from https://develop.svn.wordpress.org/trunk@61654
git-svn-id: http://core.svn.wordpress.org/trunk@60965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
These are from the `WordPress-Extra` standard, which is not included in the `phpcs.xml.dist` configuration (the repository uses `WordPress-Core`).
Includes removing unnecessary `WordPress.WP.CapitalPDangit.Misspelled` annotation on the `wordpress` array key, as the `CapitalPDangit` sniff skips array definitions by design.
Follow-up to [46271], [46445].
Props rodrigosprimo.
See #64627.
Built from https://develop.svn.wordpress.org/trunk@61643
git-svn-id: http://core.svn.wordpress.org/trunk@60954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
`word-break: normal !important;` was added to Twenty Twenty in [46701], but the change missed getting propagated to all uses of the screen-reader-text class at that time.
Add `word-break` reset to `.screen-reader-text` to ensure screen readers won't read text as individual letters in hidden text.
Props peterwilsoncc, manhphucofficial, palak678, sabernhardt, mukesh27, joedolson.
Fixes#64375.
Built from https://develop.svn.wordpress.org/trunk@61636
git-svn-id: http://core.svn.wordpress.org/trunk@60947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%.
Follow up to [61628] to also remove JS that fixed skip link behavior for IE. Also remove overlooked contents of `ie-editor.css.map`.
Props sabernhardt, westonruter, joedolson.
Fixes#64590.
Built from https://develop.svn.wordpress.org/trunk@61635
git-svn-id: http://core.svn.wordpress.org/trunk@60946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No version of Internet Explorer is still supported by WordPress or Microsoft. Usage of Internet Explorer has dropped to about 0.1%.
Remove IE-specific CSS and polyfills.
Props sabernhardt, westonruter, mukesh27, joedolson.
Fixes#64590.
Built from https://develop.svn.wordpress.org/trunk@61628
git-svn-id: http://core.svn.wordpress.org/trunk@60939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove the text color setting on the Written by pattern. The setting was resulting in color contrast that was well below contrast guidelines. Allow the text color to be inherited by default.
Props poena, rinkalpagdar, narenin, sabernhardt, noruzzaman, huzaifaalmesbah, joedolson.
Fixes#62982.
Built from https://develop.svn.wordpress.org/trunk@61534
git-svn-id: http://core.svn.wordpress.org/trunk@60845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The purpose of this change is to ensure that the quote block and the quote block cite inherits the text color from the parent block, if:
* The parent has a text color set in the block settings, and
* The quote block does not have a text color set in the block settings.
Follow-up to [43799], [56087].
Props poena, melchoyce, sabernhardt, mukesh27, apermo, SergeyBiryukov.
Fixes#51236.
Built from https://develop.svn.wordpress.org/trunk@61441
git-svn-id: http://core.svn.wordpress.org/trunk@60753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit addresses a visual inconsistency in the Twenty Nineteen theme where the Calendar block (`.wp-calendar-table`) displayed a different font family in the block editor compared to the front end.
Props rishabhwp, viralsampat, khushipatel15, sabernhardt, arshitrajyaguru97, SirLouen, SergeyBiryukov.
Fixes#63331.
Built from https://develop.svn.wordpress.org/trunk@61384
git-svn-id: http://core.svn.wordpress.org/trunk@60696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the `devDependencies` for each of the default themes with `package.json` files with a few exceptions:
- `eslint`: This was updated to the latest `8.x` version only since `9.x` is not yet properly supported by `@wordpress/eslint-plugin`.
- `stylelint`-related packages: these updates are resulting in formatting changes. These need to be examined more carefully as they’re likely undesired and require adjustments to the configuration file.
Props peterwilsoncc, desrosj.
Fixes#63171.
Built from https://develop.svn.wordpress.org/trunk@61206
git-svn-id: http://core.svn.wordpress.org/trunk@60542 1a063a9b-81f0-0310-95a4-ce76da25c4cd