Skip to content

Commit 89e5cca

Browse files
committed
Merge branch 'develop'
2 parents 48c2260 + 2308020 commit 89e5cca

19 files changed

+779
-658
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
core:
2929
- {name: 'WP latest', version: 'latest'}
30-
- {name: 'WP minimum', version: 'WordPress/WordPress#6.3'}
30+
- {name: 'WP minimum', version: 'WordPress/WordPress#6.4'}
3131
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
3232

3333
steps:

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file, per [the Ke
44

55
## [Unreleased] - TBD
66

7+
## [1.8.0] - 2025-05-08
8+
9+
**Note that this release bumps the WordPress minimum version from 6.3 to 6.4.**
10+
11+
### Added
12+
13+
- Honeypot and no-JS fields to help prevent spam (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#139](https://github.com/mailchimp/wordpress/pull/139)).
14+
- Confirmation prompt before logging out the user (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#149](https://github.com/mailchimp/wordpress/pull/149)).
15+
- A note advising users to set the website URL in the Mailchimp Audience settings (props [@iamdharmesh](https://github.com/iamdharmesh), [@MaxwellGarceau](https://github.com/MaxwellGarceau), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#145](https://github.com/mailchimp/wordpress/pull/145)).
16+
17+
### Changed
18+
19+
- Bump WordPress "tested up to" version 6.8 (props [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@dkotter](https://github.com/dkotter) via [#148](https://github.com/mailchimp/wordpress/pull/148)).
20+
- Bump WordPress minimum supported version from 6.3 to 6.4 (props [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@dkotter](https://github.com/dkotter) via [#148](https://github.com/mailchimp/wordpress/pull/148)).
21+
722
## [1.7.0] - 2025-04-08
823

924
### Changed
@@ -298,6 +313,7 @@ All notable changes to this project will be documented in this file, per [the Ke
298313
- Security and various other improvements
299314

300315
[Unreleased]: https://github.com/mailchimp/wordpress/compare/main...develop
316+
[1.8.0]: https://github.com/mailchimp/wordpress/compare/1.7.0...1.8.0
301317
[1.7.0]: https://github.com/mailchimp/wordpress/compare/1.6.3...1.7.0
302318
[1.6.3]: https://github.com/mailchimp/wordpress/compare/1.6.2...1.6.3
303319
[1.6.2]: https://github.com/mailchimp/wordpress/compare/1.6.1...1.6.2

assets/js/mailchimp.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
// Change our submit type from HTML (default) to JS
3939
$('.mc_submit_type').val('js');
4040

41+
// Remove the no JS field.
42+
$('.mailchimp_sf_no_js').remove();
43+
4144
// Attach our form submitter action
4245
$('.mc_signup_form').ajaxForm({
4346
url: window.mailchimpSF.ajax_url,

includes/blocks/mailchimp/markup.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ function ( $single_list ) {
225225
</div><!-- /mc-indicates-required -->
226226
<?php
227227
}
228+
229+
// Add a honeypot field.
230+
mailchimp_sf_honeypot_field();
228231
?>
229232
<div class="mc_signup_submit">
230233
<input type="submit" name="mc_signup_submit" class="mc_signup_submit_button" id="mc_signup_submit" value="<?php echo esc_attr( $submit_text ); ?>" class="button" />

includes/class-mailchimp-block-form-submission.php

Lines changed: 0 additions & 310 deletions
This file was deleted.

0 commit comments

Comments
 (0)