Skip to content

Commit

Permalink
Merge pull request #1298 from Automattic/trunk
Browse files Browse the repository at this point in the history
Alpha release Apr 25
  • Loading branch information
dkoo authored Apr 25, 2024
2 parents f02f318 + 424a341 commit 1a3e33a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 44 deletions.
54 changes: 27 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/class-newspack-popups-inserter.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ public static function insert_inline_prompt_in_archive_pages( $post_count ) {
foreach ( $archives_popups as $popup ) {
// insert popup only on selected archive page types.
if ( is_category() && ! in_array( 'category', $popup['options']['archive_page_types'] )
|| ( is_tag() && ! in_array( 'tag', $popup['options']['archive_page_types'] ) )
|| ( is_tag() && ! in_array( 'tag', $popup['options']['archive_page_types'] ) ) // phpcs:ignore Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence.MissingParentheses
|| ( is_author() && ! in_array( 'author', $popup['options']['archive_page_types'] ) )
|| ( is_date() && ! in_array( 'date', $popup['options']['archive_page_types'] ) )
|| ( is_post_type_archive() && ! in_array( 'post-type', $popup['options']['archive_page_types'] ) )
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"newspack-components": "^2.2.1",
"qs": "^6.12.0"
"qs": "^6.12.1"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.8.0",
"@rushstack/eslint-patch": "^1.10.2",
"eslint": "^7.32.0",
"lint-staged": "^15.2.2",
"newspack-scripts": "^5.3.0",
Expand Down

0 comments on commit 1a3e33a

Please sign in to comment.