- Fix button text setting not updating after saving settings.
- Escape return value of
add_query_arg
before outputting, fixing a potential XSS issue. Thanks to vgo0 for the responsible disclosure. - Escape or kses return values of all gettext calls.
- Improved sanitization of all plugin settings.
- Minor server side performance improvements by getting rid of some unneccessary string copies or sprintf calls.
- JS file now has
defer
attribute so it is not render blocking. - Stylesheet is now inserted through JS, so it is not render blocking.
- Animations now entirely handled using CSS.
- JS file is now 20% smaller because of the above (2.6 kB gzipped).
- Minor JS improvements to shrink ~500 bytes off script file.
- Prepare admin tab navigation for upcoming Mailchimp for WordPress release.
- Always use minified asset file, regardless of
SCRIPT_DEBUG
setting. - Add nonce to all URL's using
_mc4wp_action
parameter.
- Update classnames to work with MailChimp for WordPress version 4.8.4 (and up).
- Minor JS optimizations.
- Fix typo in help text.
- Show bar server-side to speed-up height calculation.
- Add setting to disable bar (stop loading it altogether) after it is used.
- Increase default cookie lifetime to 1 year.
- Fade response element using CSS animations for better performance.
- Various minor performance improvements.
Compatibility with Mailchimp for WordPress version 4.6.
Changes
- Change name to MC4WP: Mailchimp Top Bar.
Improvements
- Add (advanced) setting to quickly disable the top bar on certain pages.
Fixes
- Required fields notice on selected list was not showing because of invalid list property.
Improvements
- Prefix internal CSS classes for improved compatibility with other themes or plugins applying global admin styles.
Improvements
- 30% reduction in script file size because of removed JS dependency.
- Stop setting unused cookie when Top Bar form is used to subscribe.
- Add mctb_after_submit_button action hook.
- Improve animation performance.
Improvements
- Form now submits over AJAX, no longer reloading the entire page.
- Added
for
attribute to label elements, thanks gabriel-kaam. - Added
mctb_replace_interests
filter hook.
Various minor code improvements.
Improvements
- Improved responsiveness when bar has additional input fields.
- Add
required
attribute to email input.
Fixes
- Top padding for small screens with admin bar.
Improvements
- Better bar responsiveness when window dimensions change on the fly (eg resizing a window or changing device orientation mode). (Thanks tech4him1!)
Fixes
- Error in animating body padding back to its original value.
Fixes
- Bar would crash when clicking toggle icon during bar animation.
Improvements
- Function scope generated JavaScript file to prevent Browserify clashes with other loaded scripts.
- Make sure script works even though it's loaded in the head section.
- Preparations for upcoming Mailchimp for WordPress v4.0 release.
Additions
- Added Spanish language files, thanks to Ángel Guzmán Maeso
- Added
mctb_data
filter, to filter form data before it is processed.
Deprecated
- Deprecated
mctb_merge_vars
filter.
Improvements
- Completely removed optional jQuery dependency. The plugin now uses JavaScript animations, resulting in a much smoother experience.
Fixes
- Closed bar would still overlap underlying elements (like fixed top menu's).
Fixes
Top Bar was invisible on some themes because of z-index
being too low.
Improvements
- Make sure top bar doesn't appear on top of WP admin bar.
- Hardened CSS styles for improved theme compatability.
Improvements
- Miscellaneous code improvements
Additions
- Add support for new debug log in Mailchimp for WordPress 3.1
Additions
- Option to "update existing subscribers" in Mailchimp, which is useful if you have added fields.
Improvements
- Toggle icon now has a background color, for increased visibility.
- Toggle icon now stacks above or below bar on small screens.
The plugin now requires Mailchimp for WordPress version 3.0 or higher.
Fixes
- Fixed column alignment in Appearance tab, thanks Chantal Coolsma!
Improvements
- Improved admin notice when dependencies are not installed.
- Compatibility for the upcoming Mailchimp for WordPress 3.0 release tomorrow.
- Added
mctb_subscribed
filter.
Improvements
- Minor refactoring in the way the plugin is bootstrapped.
Fixes
- Honeypot field being auto-completed in some browsers.
- Honeypot field was accessible by pressing "tab" key.
- Hardened security for cookie that tracks sign-up attempts.
Fixes
- Response message was not showing for some themes.
Improvements
- Better mobile responsiveness
Improvements
- The bar will now auto-dismiss after every successful sign-up.
- Placeholders will now work in Internet Explorer 7, 8 & 9 as well.
Additions
- Added options for double opt-in and sending Mailchimp's "welcome email".
- Added
mctb_before_label
action allowing you to add HTML before the label-element. - Added
mctb_before_email_field
action allowing you to add HTML before the email field. - Added
mctb_before_submit_button
action allowing you to add HTML before the submit button. - Added
mctb_form_action
filter allowing you to set a custom form action.
Fixes
- Fixes fatal error when visiting settings page on some servers
Improvements
- Fixes height of response message
- CSS improvements for compatibility with various popular themes
Fixes
- Fixes unclickable admin bar (or fixed navigation menu's).
Improvements
- Various improvements to bar CSS so it can be easily overridden.
- Fix vertical alignment of toggle icon.
Improvements
- Bar no longer requires jQuery script, saving an additional HTTP request and 100kb
Additions
- Position option: top or bottom
- New filter:
mctb_mailchimp_list
(set lists to subscribe to) - Lithuanian translation, thanks to Aleksandr Charkov
Fixes
- Compatibility with Mailchimp for WordPress Lite v2.3 and Mailchimp for WordPress Pro v2.7.
Fixes
mctb_show_bar
filter was not functioning properly with some themes.- Form always errored when using WPML with String Translations.
Improvements
- Toggle icon is no longer shown for users without JavaScript.
Fixes
- Compatibility issues with latest version of Enfold theme
- Conflict with other plugins shipping very old versions of Composer
Improvements
- Allow simple inline tags in the bar text
Fixes
- Bar not loading in some themes after latest update
- Colors not working because of missing leading
#
value. Color settings are now validated before saving them.
Fixes
- Styling issues with Enfold theme.
Additions
- Settings page now uses a tabbed interface.
- You can now set a "redirect url" in the bar settings
- All form response messages can now be customised for the bar form
Improvements
- Bar will now show "already subscribed" message from Mailchimp for WordPress when a person is already on the selected list.
- Response message will now show and fadeout after 3 seconds.
- Various usability improvements for the settings screen.
- Improved spam detection.
- Major JS performance improvements.
Additions
- Multiple new anti-spam measures
- WPML compatibility
Improvements
- Better CSS reset for elements inside the bar
- Other minor CSS improvements
Additions
- Top Bar sign-ups are now shown in the log for Mailchimp for WordPress Pro.
Fixes
- The plugin will no longer overlap header menu's or other elements
Additions
- You can now set the bar as "sticky", meaning it will stick to the op your window, even when scrolling.
- You can now choose the size of the bar, small/medium/big.
- Added Dutch translation files.
Improvements
- The menu item will now show above the item asking you to upgrade to Mailchimp for WordPress Pro.
Please update the Mailchimp for WordPress plugin before updating to this version.
Initial release