diff --git a/.wordpress-org/screenshot-1.jpg b/.wordpress-org/screenshot-1.jpg index 6a3ef1c..906e243 100644 Binary files a/.wordpress-org/screenshot-1.jpg and b/.wordpress-org/screenshot-1.jpg differ diff --git a/.wordpress-org/screenshot-2.jpg b/.wordpress-org/screenshot-2.jpg index 1001ff0..95a8147 100644 Binary files a/.wordpress-org/screenshot-2.jpg and b/.wordpress-org/screenshot-2.jpg differ diff --git a/.wordpress-org/screenshot-3.jpg b/.wordpress-org/screenshot-3.jpg index f57dcc1..3564f5f 100644 Binary files a/.wordpress-org/screenshot-3.jpg and b/.wordpress-org/screenshot-3.jpg differ diff --git a/.wordpress-org/screenshot-4.jpg b/.wordpress-org/screenshot-4.jpg index f567f12..6b895ea 100644 Binary files a/.wordpress-org/screenshot-4.jpg and b/.wordpress-org/screenshot-4.jpg differ diff --git a/.wordpress-org/screenshot-5.jpg b/.wordpress-org/screenshot-5.jpg index f437cac..ec559b4 100644 Binary files a/.wordpress-org/screenshot-5.jpg and b/.wordpress-org/screenshot-5.jpg differ diff --git a/.wordpress-org/screenshot-6.jpg b/.wordpress-org/screenshot-6.jpg new file mode 100644 index 0000000..16f9ac3 Binary files /dev/null and b/.wordpress-org/screenshot-6.jpg differ diff --git a/.wordpress-org/screenshot-7.jpg b/.wordpress-org/screenshot-7.jpg new file mode 100644 index 0000000..a44493a Binary files /dev/null and b/.wordpress-org/screenshot-7.jpg differ diff --git a/.wordpress-org/screenshot-8.jpg b/.wordpress-org/screenshot-8.jpg new file mode 100644 index 0000000..51c943a Binary files /dev/null and b/.wordpress-org/screenshot-8.jpg differ diff --git a/.wordpress-org/screenshot-9.jpg b/.wordpress-org/screenshot-9.jpg new file mode 100644 index 0000000..acae7b8 Binary files /dev/null and b/.wordpress-org/screenshot-9.jpg differ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..74286ca --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,171 @@ +# Changelog + +All notable changes to this project will be documented in this file, per [the Keep a Changelog standard](http://keepachangelog.com/), and will adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] - TBD + +## [1.6.0] - 2024-09-24 +**Note this version increased the WordPress minimum version to 6.1 and the PHP minimum version to 7.0.** + +### Added +- Mailchimp List Subscribe Form custom block (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#35](https://github.com/mailchimp/wordpress/pull/35), [#38](https://github.com/mailchimp/wordpress/pull/38)). +- PHP 8.3 compatibility and minimum PHP version of 7.0 (props [@nateconley](https://github.com/nateconley), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#26](https://github.com/mailchimp/wordpress/pull/26)). +- WordPress 6.6 compatibility (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +- OAuth authentication for connecting a Mailchimp account with WordPress (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#47](https://github.com/mailchimp/wordpress/pull/47), [#48](https://github.com/mailchimp/wordpress/pull/48), [#50](https://github.com/mailchimp/wordpress/pull/50), [#52](https://github.com/mailchimp/wordpress/pull/52)). +- New user signup flow, allowing users to sign up for a Mailchimp account from within the plugin (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#51](https://github.com/mailchimp/wordpress/pull/51)). +- Created a `LICENSE.md` file and sets the license in the plugin to `GPL-2.0-or-later` (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +- Plugin icon and banner assets (props [@eddieshrake](https://github.com/eddieshrake), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#28](https://github.com/mailchimp/wordpress/pull/28)). + +### Changed +- Bump WordPress "tested up to" version 6.6 (props [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@vikrampm1](https://github.com/vikrampm1), [@jeffpaul](https://github.com/jeffpaul) via [#43](https://github.com/mailchimp/wordpress/pull/43)). +- Ensure the signup form is only visible when a list is selected in the settings (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#54](https://github.com/mailchimp/wordpress/pull/54)). +- Moved settings page and link to top-level WP Admin menu item (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#29](https://github.com/mailchimp/wordpress/pull/29), [#33](https://github.com/mailchimp/wordpress/pull/33)). +- Admin styles to match updated Mailchimp brand guidelines (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). +- Replaced references of MailChimp to Mailchimp except where those references are explicitly functional code (to limit the additional class/function updates needed) (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +- Updated `readme.txt` and `mailchimp.php` header values to the WP.org standards (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +- Moved screenshots into a new `.wordpress-org` directory (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +- Moved translations to [GlotPress](https://translate.wordpress.org/projects/wp-plugins/mailchimp/) (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#39](https://github.com/mailchimp/wordpress/pull/39)). + +### Deprecated +- Function `mailchimpSF_signup_form` deprecated in favor of `mailchimp_sf_signup_form` (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter) via [#24](https://github.com/mailchimp/wordpress/pull/24)). +- jQuery scrollTo (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). + +### Removed +- Support for WordPress < 6.1.1 (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +- Polyfills for WordPress < 2.8.0 (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +- Monkey Rewards integration (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#30](https://github.com/mailchimp/wordpress/pull/30)). +- IE-specific admin stylesheet (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). + +### Fixed +- Formatting from linting checks (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter) via [#23](https://github.com/mailchimp/wordpress/pull/23)). +- Datepicker display on frontend (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#25](https://github.com/mailchimp/wordpress/pull/25)). +- Accessibility for admin settings page (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). +- Properly handle the scenario where a non-valid list is updated (props [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@nateconley](https://github.com/nateconley), [@vikrampm1](https://github.com/vikrampm1) via [#40](https://github.com/mailchimp/wordpress/pull/40)). +- Ensure the custom block and shortcode both have consistent spacing (props [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@nateconley](https://github.com/nateconley), [@vikrampm1](https://github.com/vikrampm1) via [#41](https://github.com/mailchimp/wordpress/pull/41)). +- Address some PHP warnings when a form submission happens (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#54](https://github.com/mailchimp/wordpress/pull/54)). + +### Developer +- Created a `README.md` file from the `readme.txt` content (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14), [#22](https://github.com/mailchimp/wordpress/pull/22)). +- Created `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `SECURITY.md`, Issue and PR templates, Dependabot config file, and `composer.json` and `package.json` base files (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#15](https://github.com/mailchimp/wordpress/pull/15)). +- Added WordPress Version Checker and Build Release Zip GitHub Action Workflows (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#16](https://github.com/mailchimp/wordpress/pull/16)). +- Added Cypress E2E framework, associated GitHub Action Workflow, and E2E tests (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@iamdharmesh](https://github.com/iamdharmesh) via [#17](https://github.com/mailchimp/wordpress/pull/17), [#48](https://github.com/mailchimp/wordpress/pull/48)). +- Added PHP Compatibility GitHub Action Workflow (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#18](https://github.com/mailchimp/wordpress/pull/18)). +- Added PHPCS Linting GitHub Action Workflow (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#19](https://github.com/mailchimp/wordpress/pull/19)). +- Added ESLint GitHub Action Workflow (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#20](https://github.com/mailchimp/wordpress/pull/20)). +- Added Standard GitHub Action Workflows (props [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#21](https://github.com/mailchimp/wordpress/pull/21)). + +## 1.5.8 - 2022-09-26 +### Changed +- Updated `readme.txt` link. + +### Fixed +- PHP warning for merge tags. +- Double slashes on resources being loaded. + +## 1.5.7 +- Fix undefined variable notice. +- Fix HTML submission message. + +## 1.5.6 +- Fixes short array notation which caused a fatal error in older PHP versions. + +## 1.5.5 +- Fix timeout error on activation. + +## 1.5.4 +- Set optional value for API wrapper. + +## 1.5.3 - 2016-11-01 +- Fix PHP7 compatibility issue +- Cut down on size of API requests for users with large lists. +- Fix CSS issue on removing Mailchimp style. + +## 1.5.2 - 206-08-17 +- General bugfixes for merge fields. +- When re-initializing, update merge field values. + +## 1.5.1 +- Bugfix for fatal error in Mailchimp lib. + +## 1.5 - 2016-07-13 +- Upgrade to Mailchimp API v3.0 +- Remove OAuth2 middle layer and use Mailchimp API keys. +- Include double/single opt-in toggle. + +## 1.4.2 - 2014-09-19 +- Updated for WordPress 4.0 postback compatibility. + +## 1.4.1 - 2013-11-21 +- Update styles to be compatible with upcoming 3.8 wp-admin changes. + +## 1.4 - 2013-11-19 +- Developer Mode "Kitchen Sink" takes over plugin for local development. +- Developer Mode has filters of changeable content. +- Fix bug related to required US phone validation. + +## 1.3 - 2013-10-03 +- Now using OAuth flow for user authentication. +- Admin UI refresh. + +## 1.2.14 - 2013-04-01 +- Add link to edit profile within error when duplicate signup occurs. + +## 1.2.13 - 2012-11-26 +- Fixed bug preventing address fields from submitting correctly. + +## 1.2.12 - 2012-10-23 +- Update spanish language files (es_ES and es_MX). + +## 1.2.11 - 2012-09-20 +- Updating translation strings. + +## 1.2.10 - 2012-08-27 +- Invalid group fix. + +## 1.2.9 - 2012-04-17 +- Fixed bug where multiple checkbox type interest groups were returning an invalid error. +- Fixed bug where assets were not enqueueing properly if the plugin directory was not set to 'mailchimp'. Now supports any directory name. + +## 1.2.8 - 2012-03-12 +- Fixed bug where entire phone numbers were only being deposited in the area code portion. + +## 1.2.7 - 2012-02-21 +- CSS should now always load correctly on the front end. +- Adding Hebrew and Romanian language support. +- Updating translation contribution instructions. +- Tested version is now 3.3.1. + +## 1.2.6 - 2011-11-10 +- Fixed bug with "Settings" link appearing on all plugins (props Jason Lane). +- Resolved issue with unnecessary calls to the Mailchimp API during upgrade check. +- Resolved PHP warning when there weren't any interest groups. + +## 1.2.5 - 2011-09-22 +- Field formatting based on type +- Support for multiple interest groups (a data upgrade procedure must be run by visiting the WordPress dashboard). +- Added jQuery datepicker option to be used with dates. +- Added a handful of new translations. +- Fixing various PHP notices and deprecated functions (props Jeffry Ghazally). + +## 1.2.4 - 2011-04-14 +- Version bump for proper listing on wordpress.org. + +## 1.2.3 - 2011-04-11 +- Change mailchimp_sf_where_am_i() to use plugins_url() in place of WP_PLUGIN_URL to take SSL into account when delivering assets (props John LeBlanc). +- Update MCAPI wrapper to bring back PHP4 support (note: PHP 5.2 to be required starting with WordPress 3.2). + +## 1.2.2 - 2011-02-09 +- Change MCAPI wrapper to use a more unique class name, v1.3 of the API, and a much lighter client library. + +## 1.2.1 - 2010-11-09 +- Fixed internationalization path bug. +- Fixed instances where i18n functions weren't necessary in admin. +- Added more strings to be translated. + +## 1.2 - 2010-10-14 +- Recommended Upgrade, please see "Upgrading" section of readme. +- Security and various other improvements + +[Unreleased]: https://github.com/mailchimp/wordpress/compare/main...develop +[1.6.1]: https://github.com/mailchimp/wordpress/compare/1.6.0...1.6.1 +[1.6.0]: https://github.com/mailchimp/wordpress/tree/1.6.0 diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 0000000..b307165 --- /dev/null +++ b/CREDITS.md @@ -0,0 +1,21 @@ +# Credits + +The following acknowledges the Maintainers for this repository, those who have Contributed to this repository (via bug reports, code, design, ideas, project management, translation, testing, etc.), and any Libraries utilized. + +## Maintainers + +The following individuals are responsible for curating the list of issues, responding to pull requests, and ensuring regular releases happen. + +[Mailchimp (@mailchimp)](https://github.com/mailchimp), [10up (@10up)](https://github.com/10up). + +## Contributors + +Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, translation, testing, etc. + +[Mailchimp (@mailchimp)](https://github.com/mailchimp), [Crowd Favorite (@crowdfavorite)](https://github.com/crowdfavorite), [Matthew Richmond (@bigdawggi)](https://github.com/bigdawggi), [Devin Reams (@devinreams)](https://github.com/devinreams), [Alex King (@alexkingorg)](https://github.com/alexkingorg), [Jesse (@jessedp)](https://github.com/jessedp), [Andrew Ellis](awellis@me.com), [Evan Anderson (@ejdanderson)](https://github.com/ejdanderson), [Webb Henderson (@emerywebster)](https://github.com/emerywebster), [Steven Mathias (@ssmathias)](https://github.com/ssmathias), [Jonathan D. Johnson (@jondavidjohn)](https://github.com/jondavidjohn), [Ross Tweedie (@digitales)](https://github.com/digitales), [(@mcwill)](https://github.com/mcwill), [Andrew Austin (@andrewjaustin)](https://github.com/andrewjaustin), [Marc Queralt i Bassa (@MarcQueralt)](https://github.com/MarcQueralt), [Chris Mospaw (@mospaw)](https://github.com/mospaw), [Jonas Stensved (@jstensved)](https://github.com/jstensved), [netboy](netboy@netboy.pl), [Lenin](lenin@tasawr.com), [Bauke Zwaan (@baukezwaan)](https://github.com/baukezwaan), [Jascha Ehrenreich (@jaeh)](https://github.com/jaeh), [Chris Wilcoxson (@slushman)](https://github.com/slushman), [Luke Watts (@thisislawatts)](https://github.com/thisislawatts), [Glenn Ansley (@glennansley)](https://github.com/glennansley), [SiteGround](http://www.siteground.com/wordpress-hosting.htm), [Peter Kahoun](http://kahi.cz/), [Jan Lund](), [Michael Jaekel](), [Ιωάννης Δημοφέρλιας (John Dimoferlias)](), [Tomás Nader](), [Claudia Mansilla](http://cricava.com/), [Helen Urbanik](http://www.motomaania.ee/), [Maxime Toulliou](http://www.maximetoulliou.com/), [שגיב בית](http://www.sagive.co.il), [Okostobi](), [Stefan Des](http://www.stefandes.com), [백선기 (SK Baek)](), [Alexander Roterud aka Defrag](http://www.tigerpews.com), [Filip Stas](http://suddenelfilio.net/), [Maria Manoela Porto](), [Tiago Faria](http://xroot.org), [Alexandru Armin Roșu](), [Илья](http://fatcow.com), [Sebastian Johnsson](http://www.agiley.se/), [Hakan E.](http://kazancexpert.com/), [Josh Grosser (@jgrosser-intuit)](https://github.com/jgrosser-intuit), [10up (@10up)](https://github.com/10up), [Nate Conley (@nateconley)](https://github.com/nateconley), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Eddie Shrake (@eddieshrake)](https://github.com/eddieshrake), [Sumit Bagthariya (@qasumitbagthariya)](https://github.com/qasumitbagthariya), [Vikram Moparthy (@vikrampm1)](https://github.com/vikrampm1), [Dharmesh Patel (@iamdharmesh)](https://github.com/iamdharmesh). + +## Libraries + +The following software libraries are utilized in this repository. + +n/a diff --git a/README.md b/README.md index 35fa33e..f67f531 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,26 @@ # Mailchimp List Subscribe Form -> Add a Mailchimp signup form widget to your WordPress site. +> Add a Mailchimp signup form block, widget, or shortcode to your WordPress site. [![Support Level](https://img.shields.io/badge/support-active-green.svg?label=Support)](#support-level) [![GPL-2.0-or-later License](https://img.shields.io/github/license/mailchimp/wordpress?label=License)](https://github.com/mailchimp/wordpress/blob/develop/LICENSE.md) ![WordPress Plugin Version](https://img.shields.io/wordpress/plugin/v/mailchimp?label=Version) ![WordPress Minimum](https://img.shields.io/wordpress/plugin/wp-version/mailchimp?label=WordPress%20minimum) ![PHP Minimum](https://img.shields.io/wordpress/plugin/required-php/mailchimp?label=PHP%20minimum) ![WordPress Tested Up To](https://img.shields.io/wordpress/plugin/tested/mailchimp?label=WordPress) [![E2E Cypress Tests](https://github.com/mailchimp/wordpress/actions/workflows/e2e.yml/badge.svg)](https://github.com/mailchimp/wordpress/actions/workflows/e2e.yml) [![PHP Compatibility](https://github.com/mailchimp/wordpress/actions/workflows/php-compat.yml/badge.svg)](https://github.com/mailchimp/wordpress/actions/workflows/php-compat.yml) [![PHP Linting](https://github.com/mailchimp/wordpress/actions/workflows/phpcs.yml/badge.svg)](https://github.com/mailchimp/wordpress/actions/workflows/phpcs.yml) [![JS Linting](https://github.com/mailchimp/wordpress/actions/workflows/eslint.yml/badge.svg)](https://github.com/mailchimp/wordpress/actions/workflows/eslint.yml) ## Overview -Use the Mailchimp List Subscribe plugin to quickly add a Mailchimp signup form widget to your WordPress 2.8 or higher site. +![Mailchimp List Subscribe Form block within the block inserter.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-1.jpg?raw=true) -![An example Signup Form Widget](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-5.jpg?raw=true) +Use the Mailchimp List Subscribe plugin to quickly add a Mailchimp signup form block, widget, or shortcode to your WordPress site. -After installation, you’ll log in with your API key, select your Mailchimp list, choose merge fields and groups, and add the widget to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all. +![Mailchimp Block default state.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-2.jpg?raw=true) -![Configuring your Signup Form display format (optional)](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-3.jpg?raw=true) +After installation, if you already have a Mailchimp account, you'll log in with that account and then proceed to configure settings. -WordPress.com compatibility is limited to Business tier users only. [How to add a signup form if you have a WordPress.com site](https://mailchimp.com/help/ways-to-add-a-signup-form-in-wordpress/). +If you don't have an account, you can create one directly in the plugin. After entering in all your personal details, you'll need to activate your account via an email that will be sent to you. Once done, you'll proceed to configure settings. + +On the settings screen, you'll select your Mailchimp list, choose merge fields and groups, and configure other options. Once done, you can now add the block, widget, or shortcode to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all. -![Configuring extra fields on your Signup Form (optional)](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-4.jpg?raw=true) +![Mailchimp List Subscribe Form block previewing sign up form headers, fields, and button.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-3.jpg?raw=true) + +WordPress.com compatibility is limited to Business tier users only. [How to add a signup form if you have a WordPress.com site](https://mailchimp.com/help/ways-to-add-a-signup-form-in-wordpress/). ## Access Token Encryption @@ -33,76 +37,72 @@ define( 'MAILCHIMP_SF_ENCRYPTION_SALT', 'put your unique phrase here' ); If these constants are added after you've already authenticated with Mailchimp, you will need to reconnect your account. To avoid this, you can copy the values from `LOGGED_IN_KEY` and `LOGGED_IN_SALT` (if they exist) to `MAILCHIMP_SF_ENCRYPTION_KEY` and `MAILCHIMP_SF_ENCRYPTION_SALT` respectively. -## Frequently Asked Questions - -### Can I have multiple forms on one page? - -No, only one form should exist per page, no matter the display type (widget, shortcode, or block). - ## Installation This section describes how to install the plugin and get started using it. ### Version 2.8+ -1. Unzip our archive and upload the entire mailchimp directory to your `/wp-content/plugins/ directory` -2. Activate the plugin through the **Plugins** menu in WordPress -3. Navigate to **Settings** click **Mailchimp Setup**. -4. Enter your Mailchimp API Key and let the plugin verify it. +1. Unzip our archive and upload the entire mailchimp directory to your `/wp-content/plugins/ directory`. +2. Activate the plugin through the **Plugins** menu in WordPress. +3. Navigate to the **Mailchimp** menu. + +![Connecting your Mailchimp account to WordPress via OAuth.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-4.jpg?raw=true) + +![Creating a new Mailchimp account.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-9.jpg?raw=true) + +4. Click the Log in button and proceed through the OAuth flow, logging in to your Mailchimp account and authorizing the application. If you don't have an acccount, instead click the "Create an account" button to create one. + +![Logged in to your Mailchimp account and selecting a list to connect to.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-5.jpg?raw=true) + 5. Select the list where you want to send new Mailchimp subscribers. + +![Configuring your Signup Form display format (optional).](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-6.jpg?raw=true) + 6. Optional: Turn **Merge Fields** and **Groups** on or off. Navigate to **Appearance**, and click **Widgets**. Drag the Mailchimp Widget into one of your Widget Areas. -![Selecting your Mailchimp list](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-2.jpg?raw=true) +![Configuring extra fields on your Signup Form (optional).](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-7.jpg?raw=true) -### Advanced +7. Optional: adjust frontend site display with available CSS options. -If you have a custom coded sidebar or bells and whistles that prevent enabling widgets through the WordPress GUI, complete these steps instead. +![CSS options for styling your Signup Form.](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-8.jpg?raw=true) + +## Upgrading + +If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the `Mailchimp Widget` back into the sidebar, visit the Mailchimp settings page (which will have maintained your prior settings), click the "Update List" button, and you're done! + +If you are upgrading to version 1.6.0, you will need to updated any references to display function `mailchimpSF_signup_form` to `mailchimp_sf_signup_form`. + +## Advanced Usage + +If you have a custom-coded sidebar or something that prevent enabling widgets through the WordPress GUI, complete these steps instead. WordPress v2.8 or higher: ` [mailchimpsf_form] ` -If you are adding it inside a php code block, pop this in: +If you are adding it inside a php code block, add this: ` mailchimp_sf_signup_form(); ` -Or, if you are dropping it in between a bunch of HTML, use this: +Or, if you are adding it within HTML, use this: `` Where ever you want it to show up. -## Upgrading +## Frequently Asked Questions -If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the `Mailchimp Widget` back into the sidebar, visit the Mailchimp settings page (which will have maintained your prior settings), click the "Update List" button, and you're done! +### Can I have multiple forms on one page? -If you are upgrading to version 1.6.0, you will need to updated any references to display function `mailchimpSF_signup_form` to `mailchimp_sf_signup_form`. +No, only one form should exist per page, no matter the display type (block, widget, or shortcode). + +### Why am I not seeing all my fields in my form? + +You need to ensure that the fields are enabled both in your Mailchimp account (Audience > Signup forms) and in the settings of this plugin. Once the fields are enabled in both places, then they'll appear in the editor and frontend of your site. + +### How can I translate “MailChimp List Subscribe Form”? -## Internationalization (i18n) - -Currently we have the plugin configured so it can be translated and the following languages supported: - -* bg_BG - Bulgarian in Bulgaria (thanks to [SiteGround](http://www.siteground.com/wordpress-hosting.htm) for contributing) -* cs_CZ - Czech in the Czech Republic (thanks to [Peter Kahoun](http://kahi.cz/) for contributing) -* da_DK - Danish in Denmark (thanks to Jan Lund for contributing) -* de_DE - German in Germany (thanks to Michael Jaekel for contributing) -* el_GR - Modern Greek in Greece (thanks to Ιωάννης Δημοφέρλιας (John Dimoferlias) for contributing) -* en_US - English in the U.S. -* es_CL - Spanish in Chile (thanks to Tomás Nader for contributing) -* es_ES - Spanish in Spain (thanks to [Claudia Mansilla](http://cricava.com/) for contributing) -* et_ET - Estonian in Estonia (thanks to [Helen Urbanik](http://www.motomaania.ee/) for contributing) -* fr_FR - French in France (thanks to [Maxime Toulliou](http://www.maximetoulliou.com/) for contributing) -* he_IL - Hebrew in Israel (thanks to [שגיב בית](http://www.sagive.co.il) for contributing) -* hu_HU - Hungarian in Hungary (thanks to Okostobi for contributing) -* it_IT - Italian in Italy (thanks to [Stefan Des](http://www.stefandes.com) for contributing) -* ko_KR - Korean (thanks to 백선기 (SK Baek) for contributing) -* nb_NO - Norwegian (thanks to [Alexander Roterud aka Defrag](http://www.tigerpews.com) for contributing) -* nl_BE - Dutch (thanks to [Filip Stas](http://suddenelfilio.net/) for contributing) -* pt_BR - Portuguese in Brazil (thanks to Maria Manoela Porto for contributing) -* pt_PT - Portuguese in Portugal (thanks to [Tiago Faria](http://xroot.org) for contributing) -* ro_RO - Romanian in Romania (thanks to Alexandru Armin Roșu for contributing) -* ru_RU - Russian in the Russian Federation (thanks to [Илья](http://fatcow.com) for contributing) -* sv_SE - Swedish in Sweden (thanks to [Sebastian Johnsson](http://www.agiley.se/) for contributing) -* tr_TR - Turkish in Turkey (thanks to [Hakan E.](http://kazancexpert.com/) for contributing) +Internationalization (i18n) is available on GlotPress at [https://translate.wordpress.org/projects/wp-plugins/mailchimp/](https://translate.wordpress.org/projects/wp-plugins/mailchimp/). Any assistance [translating the plugin](https://translate.wordpress.org/projects/wp-plugins/mailchimp/) is greatly appreciated! ## E2E tests The `tests` directory contains end-to-end tests for the project, utilizing Cypress to run tests in an environment created using wp-env. diff --git a/mailchimp.php b/mailchimp.php index 4386bcd..ddd0bee 100644 --- a/mailchimp.php +++ b/mailchimp.php @@ -2,9 +2,9 @@ /** * Plugin Name: Mailchimp * Plugin URI: https://mailchimp.com/help/connect-or-disconnect-list-subscribe-for-wordpress/ - * Description: Add a Mailchimp signup form widget to your WordPress site. + * Description: Add a Mailchimp signup form block, widget or shortcode to your WordPress site. * Text Domain: mailchimp - * Version: 1.5.8 + * Version: 1.6.0 * Requires at least: 6.1 * Requires PHP: 7.0 * PHP tested up to: 8.3 diff --git a/package-lock.json b/package-lock.json index 57bc189..8cc551d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mailchimp/wordpress", - "version": "1.5.8", + "version": "1.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mailchimp/wordpress", - "version": "1.5.8", + "version": "1.6.0", "license": "GPL-2.0-or-later", "dependencies": { "@wordpress/block-editor": "^13.2.0", diff --git a/package.json b/package.json index 2c3fd71..865d02a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mailchimp/wordpress", - "version": "1.5.8", + "version": "1.6.0", "description": "Add a Mailchimp signup form widget to your WordPress site.", "homepage": "https://github.com/mailchimp/wordpress", "bugs": { diff --git a/readme.txt b/readme.txt index 4b34a7e..f4d8c7b 100644 --- a/readme.txt +++ b/readme.txt @@ -1,18 +1,22 @@ === Mailchimp List Subscribe Form === Contributors: Mailchimp Tags: mailchimp, email, newsletter, signup, marketing -Tested up to: 6.5 -Stable tag: 1.5.8 +Tested up to: 6.6 +Stable tag: 1.6.0 License: GPL-2.0-or-later License URI: https://spdx.org/licenses/GPL-2.0-or-later.html -Add a Mailchimp signup form widget to your WordPress site. +Add a Mailchimp signup form block, widget, or shortcode to your WordPress site. == Description == -Use the Mailchimp List Subscribe plugin to quickly add a Mailchimp signup form widget to your WordPress 2.8 or higher site. +Use the Mailchimp List Subscribe plugin to quickly add a Mailchimp signup form block, widget, or shortcode to your WordPress site. -After installation, you’ll log in with your API key, select your Mailchimp list, choose merge fields and groups, and add the widget to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all. +After installation, if you already have a Mailchimp account, you'll log in with that account and then proceed to configure settings. + +If you don't have an account, you can create one directly in the plugin. After entering in all your personal details, you'll need to activate your account via an email that will be sent to you. Once done, you'll proceed to configure settings. + +On the settings screen, you'll select your Mailchimp list, choose merge fields and groups, and configure other options. Once done, you can now add the block, widget, or shortcode to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all. WordPress.com compatibility is limited to Business tier users only. [How to add a signup form if you have a WordPress.com site](https://mailchimp.com/help/ways-to-add-a-signup-form-in-wordpress/). @@ -35,7 +39,15 @@ If these constants are added after you've already authenticated with Mailchimp, = Can I have multiple forms on one page? = -No, only one form should exist per page, no matter the display type (widget, shortcode, or block). +No, only one form should exist per page, no matter the display type (block, widget, or shortcode). + += Why am I not seeing all my fields in my form? = + +You need to ensure that the fields are enabled both in your Mailchimp account (Audience > Signup forms) and in the settings of this plugin. Once the fields are enabled in both places, then they'll appear in the editor and frontend of your site. + += How can I translate “MailChimp List Subscribe Form”? = + +Internationalization (i18n) is available on GlotPress at [https://translate.wordpress.org/projects/wp-plugins/mailchimp/](https://translate.wordpress.org/projects/wp-plugins/mailchimp/). Any assistance [translating the plugin](https://translate.wordpress.org/projects/wp-plugins/mailchimp/) is greatly appreciated! == Installation == @@ -43,178 +55,93 @@ This section describes how to install the plugin and get started using it. = Version 2.8+ = -1. Unzip our archive and upload the entire mailchimp directory to your `/wp-content/plugins/ directory` -2. Activate the plugin through the **Plugins** menu in WordPress -3. Navigate to **Settings** click **Mailchimp Setup**. -4. Enter your Mailchimp API Key and let the plugin verify it. +1. Unzip our archive and upload the entire mailchimp directory to your `/wp-content/plugins/ directory`. +2. Activate the plugin through the **Plugins** menu in WordPress. +3. Navigate to the **Mailchimp** menu. +4. Click the Log in button and proceed through the OAuth flow, logging in to your Mailchimp account and authorizing the application. 5. Select the list where you want to send new Mailchimp subscribers. 6. Optional: Turn **Merge Fields** and **Groups** on or off. Navigate to **Appearance**, and click **Widgets**. Drag the Mailchimp Widget into one of your Widget Areas. +7. Optional: adjust frontend site display with available CSS options. -= Advanced = +== Upgrading == -If you have a custom coded sidebar or bells and whistles that prevent enabling widgets through the WordPress GUI, complete these steps instead. +If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the `Mailchimp Widget` back into the sidebar, visit the Mailchimp settings page (which will have maintained your prior settings), click the "Update List" button, and you're done! + +== Advanced == + +If you have a custom-coded sidebar or something that prevents enabling widgets through the WordPress GUI, complete these steps instead. WordPress v2.8 or higher: ` [mailchimpsf_form] ` -If you are adding it inside a php code block, pop this in: +If you are adding it inside a php code block, add this: ` mailchimp_sf_signup_form(); ` -Or, if you are dropping it in between a bunch of HTML, use this: +Or, if you are adding it within HTML, use this: `` Where ever you want it to show up. -== Upgrading == - -If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the `Mailchimp Widget` back into the sidebar, visit the Mailchimp settings page (which will have maintained your prior settings), click the "Update List" button, and you're done! - -== Internationalization (i18n) == - -Currently we have the plugin configured so it can be translated and the following languages supported: - -* bg_BG - Bulgarian in Bulgaria (thanks to [SiteGround](http://www.siteground.com/wordpress-hosting.htm) for contributing) -* cs_CZ - Czech in the Czech Republic (thanks to [Peter Kahoun](http://kahi.cz/) for contributing) -* da_DK - Danish in Denmark (thanks to Jan Lund for contributing) -* de_DE - German in Germany (thanks to Michael Jaekel for contributing) -* el_GR - Modern Greek in Greece (thanks to Ιωάννης Δημοφέρλιας (John Dimoferlias) for contributing) -* en_US - English in the U.S. -* es_CL - Spanish in Chile (thanks to Tomás Nader for contributing) -* es_ES - Spanish in Spain (thanks to [Claudia Mansilla](http://cricava.com/) for contributing) -* et_ET - Estonian in Estonia (thanks to [Helen Urbanik](http://www.motomaania.ee/) for contributing) -* fr_FR - French in France (thanks to [Maxime Toulliou](http://www.maximetoulliou.com/) for contributing) -* he_IL - Hebrew in Israel (thanks to [שגיב בית](http://www.sagive.co.il) for contributing) -* hu_HU - Hungarian in Hungary (thanks to Okostobi for contributing) -* it_IT - Italian in Italy (thanks to [Stefan Des](http://www.stefandes.com) for contributing) -* ko_KR - Korean (thanks to 백선기 (SK Baek) for contributing) -* nb_NO - Norwegian (thanks to [Alexander Roterud aka Defrag](http://www.tigerpews.com) for contributing) -* nl_BE - Dutch (thanks to [Filip Stas](http://suddenelfilio.net/) for contributing) -* pt_BR - Portuguese in Brazil (thanks to Maria Manoela Porto for contributing) -* pt_PT - Portuguese in Portugal (thanks to [Tiago Faria](http://xroot.org) for contributing) -* ro_RO - Romanian in Romania (thanks to Alexandru Armin Roșu for contributing) -* ru_RU - Russian in the Russian Federation (thanks to [Илья](http://fatcow.com) for contributing) -* sv_SE - Swedish in Sweden (thanks to [Sebastian Johnsson](http://www.agiley.se/) for contributing) -* tr_TR - Turkish in Turkey (thanks to [Hakan E.](http://kazancexpert.com/) for contributing) - == Screenshots == -1. Entering your Mailchimp login info -2. Selecting your Mailchimp list -3. Configuring your Signup Form display format (optional) -4. Configuring extra fields on your Signup Form (optional) -5. An example Signup Form Widget +1. Mailchimp List Subscribe Form block within the block inserter. +2. Mailchimp Block default state. +3. Mailchimp List Subscribe Form block previewing sign up form headers, fields, and button. +4. Connecting your Mailchimp account to WordPress via OAuth. +5. Logged in to your Mailchimp account and selecting a list to connect to. +6. Configuring your Signup Form display format (optional). +7. Configuring extra fields on your Signup Form (optional). +8. CSS options for styling your Signup Form. +9. Creating a new Mailchimp account. == Changelog == -= 1.6.0 = -* Deprecated function `mailchimpSF_signup_form`. Function `mailchimp_sf_signup_form` should be used instead. -* Bumps minimum PHP version to 7.0 -* Removes MonkeyRewards feature. - -= 1.5.8 = -* Fix PHP warning for merge tags. -* Fix double slashes on resources being loaded -* Update Readme.txt link - -= 1.5.7 = -* Fix undefined variable notice. -* Fix HTML submission message. - -= 1.5.6 = -* Fixes short array notation which caused a fatal error in older PHP versions. - -= 1.5.5 = -* Fix timeout error on activation. - -= 1.5.4 = -* Set optional value for API wrapper. - -= 1.5.3 = -* Fix PHP7 compatibility issue -* Cut down on size of API requests for users with large lists. -* Fix CSS issue on removing Mailchimp style. - -= 1.5.2 = -* General bugfixes for merge fields. -* When re-initializing, update merge field values. - -= 1.5.1 = -* Bugfix for fatal error in Mailchimp lib - -= 1.5 = -* Upgrade to Mailchimp API v3.0 -* Remove OAuth2 middle layer and use Mailchimp API keys -* Include double/single opt-in toggle. - -= 1.4.1 = -* Update styles to be compatible with upcoming 3.8 wp-admin changes - -= 1.4 = -* Developer Mode "Kitchen Sink" takes over plugin for local development -* Developer Mode has filters of changeable content -* Fix bug related to required US phone validation - -= 1.3 = -* Now using OAuth flow for user authentication -* Admin UI refresh - -= 1.2.14 = -* Add link to edit profile within error when duplicate signup occurs - -= 1.2.13 = -* Fixed bug preventing address fields from submitting correctly. - -= 1.2.12 = -* Update spanish language files (es_ES and es_MX) - -= 1.2.9 = -* Fixed bug where multiple checkbox type interest groups were returning an invalid error -* Fixed bug where assets were not enqueueing properly if the plugin directory was not set to 'mailchimp'. Now supports any directory name. - -= 1.2.8 = -* Fixed bug where entire phone numbers were only being deposited in the area code portion - -= 1.2.7 = -* CSS should now always load correctly on the front end -* Adding Hebrew and Romanian language support -* Updating translation contribution instructions -* Tested version is now 3.3.1 - -= 1.2.6 = -* Fixed bug with "Settings" link appearing on all plugins (props Jason Lane) -* Resolved issue with unnecessary calls to the Mailchimp API during upgrade check -* Resolved PHP warning when there weren't any interest groups - -= 1.2.5 = -* Field formatting based on type -* Support for multiple interest groups (a data upgrade procedure must be run by visiting the WordPress dashboard) -* Added jQuery datepicker option to be used with dates. -* Added a handful of new translations -* Fixing various PHP notices and deprecated functions (props Jeffry Ghazally) - -= 1.2.4 = -* Version bump for proper listing on wordpress.org - -= 1.2.3 = -* Change mailchimp_sf_where_am_i() to use plugins_url() in place of WP_PLUGIN_URL to take SSL into account when delivering assets (props John LeBlanc) -* Update MCAPI wrapper to bring back PHP4 support (note: PHP 5.2 to be required starting with WordPress 3.2) - -= 1.2.2 = -* Change MCAPI wrapper to use a more unique class name, v1.3 of the API, and a much lighter client library - -= 1.2.1 = -* Fixed internationalization path bug. -* Fixed instances where i18n functions weren't necessary in admin. -* Added more strings to be translated. - -= 1.2 = -* Recommended Upgrade, please see "Upgrading" section of readme. -* Security and various other improvements += 1.6.0 - 2024-09-24 = + +**Note this version increased the WordPress minimum version to 6.1 and the PHP minimum version to 7.0.** + +* **Added:** Mailchimp List Subscribe Form custom block (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#35](https://github.com/mailchimp/wordpress/pull/35), [#38](https://github.com/mailchimp/wordpress/pull/38)). +* **Added:** PHP 8.3 compatibility and minimum PHP version of 7.0 (props [@nateconley](https://github.com/nateconley), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#26](https://github.com/mailchimp/wordpress/pull/26)). +* **Added:** WordPress 6.5 compatibility (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +* **Added:** OAuth authentication for connecting a Mailchimp account with WordPress (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#47](https://github.com/mailchimp/wordpress/pull/47), [#48](https://github.com/mailchimp/wordpress/pull/48), [#50](https://github.com/mailchimp/wordpress/pull/50), [#52](https://github.com/mailchimp/wordpress/pull/52)). +* **Added:** New user signup flow, allowing users to sign up for a Mailchimp account from within the plugin (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#51](https://github.com/mailchimp/wordpress/pull/51)). +* **Added:** Created a `LICENSE.md` file and sets the license in the plugin to `GPL-2.0-or-later` (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +* **Added:** Plugin icon and banner assets (props [@eddieshrake](https://github.com/eddieshrake), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#28](https://github.com/mailchimp/wordpress/pull/28)). +* **Changed:** Bump WordPress "tested up to" version 6.6 (props [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@vikrampm1](https://github.com/vikrampm1), [@jeffpaul](https://github.com/jeffpaul) via [#43](https://github.com/mailchimp/wordpress/pull/43)). +* **Changed:** Ensure the signup form is only visible when a list is selected in the settings (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#54](https://github.com/mailchimp/wordpress/pull/54)). +* **Changed:** Moved settings page and link to top-level WP Admin menu item (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#29](https://github.com/mailchimp/wordpress/pull/29), [#33](https://github.com/mailchimp/wordpress/pull/33)). +* **Changed:** Admin styles to match updated Mailchimp brand guidelines (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). +* **Changed:** Replaced references of MailChimp to Mailchimp except where those references are explicitly functional code (to limit the additional class/function updates needed) (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +* **Changed:** Updated `readme.txt` and `mailchimp.php` header values to the WP.org standards (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +* **Changed:** Moved screenshots into a new `.wordpress-org` directory (props [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#14](https://github.com/mailchimp/wordpress/pull/14)). +* **Changed:** Moved translations to [GlotPress](https://translate.wordpress.org/projects/wp-plugins/mailchimp/) (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#39](https://github.com/mailchimp/wordpress/pull/39)). +* **Deprecated:** Function `mailchimpSF_signup_form` deprecated in favor of `mailchimp_sf_signup_form` (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter) via [#24](https://github.com/mailchimp/wordpress/pull/24)). +* **Deprecated:** jQuery scrollTo (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +* **Removed:** Support for WordPress < 6.1.1 (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +* **Removed:** Polyfills for WordPress < 2.8.0 (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#27](https://github.com/mailchimp/wordpress/pull/27)). +* **Removed:** Monkey Rewards integration (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#30](https://github.com/mailchimp/wordpress/pull/30)). +* **Removed:** IE-specific admin stylesheet (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). +* **Fixed:** Formatting from linting checks (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter) via [#23](https://github.com/mailchimp/wordpress/pull/23)). +* **Fixed:** Datepicker display on frontend (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#25](https://github.com/mailchimp/wordpress/pull/25)). +* **Fixed:** Accessibility for admin settings page (props [@nateconley](https://github.com/nateconley), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul), [@eddieshrake](https://github.com/eddieshrake) via [#31](https://github.com/mailchimp/wordpress/pull/31)). +* **Fixed:** Properly handle the scenario where a non-valid list is updated (props [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@nateconley](https://github.com/nateconley), [@vikrampm1](https://github.com/vikrampm1) via [#40](https://github.com/mailchimp/wordpress/pull/40)). +* **Fixed:** Ensure the custom block and shortcode both have consistent spacing (props [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya), [@nateconley](https://github.com/nateconley), [@vikrampm1](https://github.com/vikrampm1) via [#41](https://github.com/mailchimp/wordpress/pull/41)). +* **Fixed:** Address some PHP warnings when a form submission happens (props [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter), [@qasumitbagthariya](https://github.com/qasumitbagthariya) via [#54](https://github.com/mailchimp/wordpress/pull/54)). + += 1.5.8 - 2022-09-26 = +* **Changed:** Updated `readme.txt` link. +* **Fixed:* PHP warning for merge tags. +* **Fixed:** Double slashes on resources being loaded. + +[View historical changelog details here](https://github.com/mailchimp/wordpress/blob/develop/CHANGELOG.md). == Upgrade Notice == += 1.6.0 = +This version increased the WordPress minimum version to 6.1 and the PHP minimum version to 7.0. + = 1.5.5 = If you are updating from v1.4.x, you will need to re-authorize with an API key.