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

Alpha release Apr 25 #1298

Merged
merged 10 commits into from
Apr 25, 2024
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