wp/6.0
Commits on Aug 23, 2022
-
- @wordpress/block-directory@3.4.14 - @wordpress/block-editor@8.5.10 - @wordpress/block-library@7.3.14 - @wordpress/customize-widgets@3.3.14 - @wordpress/edit-post@6.3.14 - @wordpress/edit-site@4.3.14 - @wordpress/edit-widgets@4.3.14 - @wordpress/editor@12.5.10 - @wordpress/format-library@3.4.10 - @wordpress/reusable-blocks@3.4.10 - @wordpress/widgets@2.4.10
-
Prevent query block from looping in classic themes (#43221)
* clone the global WP_Query inside the query loop block * always reset post data after query loop
-
Remove sticky posts setting when we inherit the query (#40656)
* reset the sticky posts query var for inherited query * merge query vars into query defaults and unset empty s query var * unser all query block defaults which are not editable when inherit is true * fixes linting PHP problems * uses global query as is and hides and UI that overrides it * removes mistaken changes * removes query overriding on inherit for no results block, although why? * Update packages/block-library/src/query-no-results/index.php * Adds co-authors Co-authored-by: Jonny Harris <237508+spacedmonkey@users.noreply.github.com> Co-authored-by: Huub <50170696+huubl@users.noreply.github.com> * Update packages/block-library/src/query-no-results/index.php CS alignments fix Co-authored-by: Jonny Harris <237508+spacedmonkey@users.noreply.github.com> Co-authored-by: Huub <50170696+huubl@users.noreply.github.com> Co-authored-by: Ari Stathopoulos <aristath@gmail.com>
-
Block Styles: Truncate long button labels (#42975)
* fix blockType Text Text → Truncate * Block Styles css * Block Styles css
Commits on Jul 20, 2022
Commits on Jul 5, 2022
-
- @wordpress/block-directory@3.4.13 - @wordpress/block-library@7.3.13 - @wordpress/customize-widgets@3.3.13 - @wordpress/edit-post@6.3.13 - @wordpress/edit-site@4.3.13 - @wordpress/edit-widgets@4.3.13
-
Commits on Jun 30, 2022
-
- @wordpress/block-directory@3.4.12 - @wordpress/block-editor@8.5.9 - @wordpress/block-library@7.3.12 - @wordpress/components@19.8.5 - @wordpress/customize-widgets@3.3.12 - @wordpress/edit-post@6.3.12 - @wordpress/edit-site@4.3.12 - @wordpress/edit-widgets@4.3.12 - @wordpress/editor@12.5.9 - @wordpress/format-library@3.4.9 - @wordpress/icons@8.2.3 - @wordpress/interface@4.5.6 - @wordpress/list-reusable-blocks@3.4.5 - @wordpress/nux@5.4.5 - @wordpress/plugins@4.4.3 - @wordpress/preferences@1.2.5 - @wordpress/reusable-blocks@3.4.9 - @wordpress/server-side-render@3.4.6 - @wordpress/widgets@2.4.9
-
Pasting: Fix performance regression due to removeWindowsFragments (#4…
…1907) * Pasting: Fix performance regression due to removeWindowsFragments Fixes #41826. removeWindowsFragments was running two String#replace with regular expressions made computationally expensive due to the use of `.*` and the `s / dotAll` flag, resulting in severe performance degradations when handling larger strings of HTML. The solution is to manually trim the strings via a combination of String#indexOf and String#substring. * removeWindowsFragments: bail early if no StartFragment found
-
Post Template: Ensure layout classnames are not attached to inner li …
…elements (#41827) * Post Template: Ensure layout classnames are not attached to inner li elements * Fix linting issue * Clarify dynamic set to false comment. Co-authored-by: ramonjd <ramonjd@gmail.com>
-
Webfonts API: Document
fontFace
and it’s values intheme.json
sch……ema (#41844) * Document fontFace and it’s values in theme.json schema * npm run docs:build * Fully document all options * required & additionalProperties placed incorrectly * Missing properties and small fixes * Remove extra space * Font-weight is not required * Font weight can be either a string or an integer
-
strip whitespaces in render_block_core_cover (#40859)
Stopgap solution to remove whitespaces from html tags generated by render_block_core_covermarkup before injecting the featured image. Follows on from [#39658]( #39658). Remove whitespaces from html tags generated by `render_block_core_covermarkup` before injecting the featured image. For the block layout see: https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/cover/edit/index.js#L327-L367 For the HTML tags capturing by class name see: https://github.com/WordPress/gutenberg/blob/51db4bf888e6b18cf9d18266108114d61070f3ad/lib/block-supports/layout.php#L232 Co-authored-by: Adam Zielinski <adam@adamziel.com>
-
#40675: Ensure only the main query is modified when resolving templat…
…e for new posts. (#40799)
Commits on Jun 21, 2022
-
Post Comments Form: Add button that enables commenting to warning (#4…
…1603) Add a button to the Post Comments Form block that allows the user to enable commenting when it's disabled.
-
Improve the logic for warnings for Post Comments Form placeholder (#4…
…0563) * Improve the warning for Comments Form placeholder * Fix typo on showPlaceholder variable name Co-authored-by: Luis Herranz <luisherranz@gmail.com>
-
Refactor: Reuse code of the editor placeholder across Post Comments a…
…nd Post Comments Form (#40560) * Create a separate template for the Comments Form * Use the form in the Post Comments block * Add the missing "return" in the CommentForm
-
Comments Block: fixed issue with custom font sizes and links color (#…
…41627) Fix an issue where custom font sizes were not showing up properly on the frontend and after a reload they were disappearing from the editor. Also fix an issue where link color is not applied on site editor, both in Comment Author and Comment Date block. Co-authored-by: Carlos Bravo <carlos.bravo@automattic.com> Co-authored-by: Bernie Reiter <ockham@raz.or.at>
-
Navigation block "Open on click": Inherit font style and font weight (#…
…40671) * Inherit font style, font weight and text transform
-
[Block Library - Latest Posts]: Prevent opening the links in editor (#…
…40593) * use css to make them unclicable * show toaster with warning * update copy * announce once per block
-
Fix/block meta icon prop errors (#40710)
* Fix hyphenated prop errors * Correct wrong icon export name
-
-
Media & Text: Remove font size declaration from template (#40329)
Co-authored-by: Gabriel Rose <gabriel.rose@10up.com>
-
Block Library: Fix JS Error in Avatar Block (#41354)
* Fix JS Error in Avatar Block Use defaultAvatar image instead of original image of user for prevent js error.This error occurred when Display Avatar unchecked from Setting->Discussion * fix the author name issue * Fix JS linting issue
-
Add utility classnames back to blocks that have layout attributes spe…
…cified (#41487) Co-authored-by: Glen Davies <glen.davies@a8c.com> Co-authored-by: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Co-authored-by: Cory Birdsong @cbirdsong
-
Lower the priority of the gallery gap css so it loads after the block…
… layout css (#41423) Co-authored-by: Glen Davies <glen.davies@a8c.com>
Commits on May 23, 2022
Commits on May 20, 2022
-
- @wordpress/block-directory@3.4.11 - @wordpress/block-editor@8.5.8 - @wordpress/block-library@7.3.11 - @wordpress/customize-widgets@3.3.11 - @wordpress/edit-post@6.3.11 - @wordpress/edit-site@4.3.11 - @wordpress/edit-widgets@4.3.11 - @wordpress/editor@12.5.8 - @wordpress/format-library@3.4.8 - @wordpress/reusable-blocks@3.4.8 - @wordpress/widgets@2.4.8
-
Site Editor: Set min-width for styles preview (#41198)
* Site Editor: Set min-width for styles preview * Add comment * memoize
-
Revert "Image: Reflect media deletion in the editor (#35973)"
This reverts commit ee07bbf.
-
adds color panel and other inspector controls for styling uncontrolle…
…d blocks in navigation (#41114)
-
Gallery Block: Support gaps that define column/row gaps to avoid PHP …
…Warning/Fatal (#41125) * Gallery Block: Support gaps that define column/row gaps. * Fix a variable typo Co-authored-by: Ramon <ramonjd@users.noreply.github.com> * Checking for and using a 'left', or gap column, value if the block support gap value is not a string * Use column gap for CSS variable and combined gap for gap property * Remove unnecessary fallback * Tidy whitespace slightly Co-authored-by: Ramon <ramonjd@users.noreply.github.com> Co-authored-by: ramonjd <ramonjd@gmail.com> Co-authored-by: Andrew Serong <14988353+andrewserong@users.noreply.github.com>
-
Layout: Add default fallback gap value in block.json, and set to 2em …
…for Columns blocks (#41098) * Layout: Try adding a default fallback gap value in block.json * Implement in the editor, too * Try moving the default value to sit under the blockGap key in spacing, updated useCustomSides to support an object * Update doc comment * Add explanatory comments * Add __experimental prefix to default property. Co-authored-by: Adam Zielinski <adam@adamziel.com> Co-authored-by: Adam Zielinski <adam@adamziel.com>
Commits on May 17, 2022
-
- @wordpress/block-directory@3.4.10 - @wordpress/block-editor@8.5.7 - @wordpress/block-library@7.3.10 - @wordpress/customize-widgets@3.3.10 - @wordpress/edit-post@6.3.10 - @wordpress/edit-site@4.3.10 - @wordpress/edit-widgets@4.3.10 - @wordpress/editor@12.5.7 - @wordpress/format-library@3.4.7 - @wordpress/reusable-blocks@3.4.7 - @wordpress/widgets@2.4.7