Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ras-acc): replace overlay on modal transition #1860

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [4.1.0](https://github.com/Automattic/newspack-blocks/compare/v4.0.1...v4.1.0) (2024-08-26)


### Bug Fixes

* **homepage-posts:** honor allowing duplicates in load-more ([5ccecbd](https://github.com/Automattic/newspack-blocks/commit/5ccecbd86129e870a183dcb4fe65c18e412a1f48))


### Features

* consolidate data flows ([#1836](https://github.com/Automattic/newspack-blocks/issues/1836)) ([ee35511](https://github.com/Automattic/newspack-blocks/commit/ee355117b7c7ba9bee32cfd0e5402cc928559c75)), closes [#1804](https://github.com/Automattic/newspack-blocks/issues/1804) [#1827](https://github.com/Automattic/newspack-blocks/issues/1827)

## [4.0.1](https://github.com/Automattic/newspack-blocks/compare/v4.0.0...v4.0.1) (2024-08-21)


### Bug Fixes

* **homepage-posts:** exclude current post only on posts and pages ([3259da8](https://github.com/Automattic/newspack-blocks/commit/3259da85cba03818b3f94901a1c74d85279c443e))

# [4.0.0](https://github.com/Automattic/newspack-blocks/compare/v3.6.1...v4.0.0) (2024-08-13)


Expand Down
3 changes: 2 additions & 1 deletion includes/class-newspack-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,11 @@ public static function build_articles_query( $attributes, $block_name ) {
if ( count( $newspack_blocks_all_specific_posts_ids ) ) {
$args['post__not_in'] = $newspack_blocks_all_specific_posts_ids; // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in
}
$current_post_id = get_the_ID();
$args['post__not_in'] = array_merge( // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in
$args['post__not_in'] ?? [],
array_keys( $newspack_blocks_post_id ),
get_the_ID() ? [ get_the_ID() ] : []
is_singular() && $current_post_id ? [ $current_post_id ] : []
);
}
if ( $categories && count( $categories ) ) {
Expand Down
Binary file added languages/newspack-blocks-nb_NO.mo
Binary file not shown.
Loading