USP Pro version 2.6 now available! This latest update focuses on bug fixes, security, and flexibility. USP Pro 2.6 also brings some great new features and improvements to make your frontend publishing experience better than ever. Members should get the update automatically via the WP Admin Area, if your site supports it. Otherwise, all members can log in and download the latest version here at Plugin Planet.
New Features
USP Pro version 2.6 adds the following new features:
- Adds Parsley.js v2.7.0 to core (MIT License)
- Adds plugin setting to include Parsley.js
- Adds nested/hierarchical display of Taxonomy field
- Adds email shortcode
%%ip_address%%for email alerts - Adds
usp-disable-alertsinput to disable email alerts per form - Adds auto-attach of hidden
usp-form-idto submitted post
Bug Fixes
USP Pro 2.6 fixes the following bugs:
- Bugfix: undefined index notice for
QUERY_STRING - Bugfix: renames prefix of all USP constants to
USP_PRO_ - Bugfix: max character setting of
0limited to999characters - Bugfix: auto-approve setting not working if Name field not included in form
- Bugfix: removes incorrect French translation
Improvements
USP Pro 2.6 brings the following improvements:
- Updates the licensing updater script
- Improves logic of
usp_custom_meta() - Updates ReCaptcha class functionality
- Improves “Add another image” functionality
- Updates the information included on form demos
- Removes
targetfrom list of allowed attributes - Replaces global
$wp_versionwithget_bloginfo('version') - Replaces
sanitize_text_fieldwithsanitize_emailfor email-related settings - Improves validation functionality, allows more tags in textarea settings
- Changes “More” tab name to “Errors” and rearranges some settings
- Adds
$user_idand$fieldstousp_submit_postfilter hook - Changes license URL now points to USP Pro License page
- Changes input type to
emailfor Email field - Changes default setting for incorrect email
- Adds validation for incorrect email address
- Tweaks styles on plugin settings pages
- Refactors default settings functionality
- Updates link/URL on plugin License page
- Updates form demos with latest code
New Hooks
USP Pro 2.6 adds the following action and filter hooks:
- Adds filter hook
usp_allowed_tagshook for allowed settings attributes - Adds filter hook
usp_upload_directoryfor default uploads directory - Adds filter hook
usp_attached_file_urlfor attached file URL - Adds filter hooks
usp_default_titleandusp_default_content - Adds filter hook
usp_tax_hierarchy_stylefor nested taxonomy styles - Adds filter hook
usp_insert_attachment_datafor file attachment data - Adds filter hook
usp_wp_editor_valuefor defaultwp_editorcontent - Adds filter hook
usp_custom_editor_valuefor customwp_editorcontent
Additionally, plugin documentation was updated, testing was performed on WordPress version 4.8 (beta), and the default .pot translation file was regenerated. USP Pro documentation and tutorials also are updated with new information pertaining to this update. See the plugin’s readme.txt file for complete Changelog.
Thank you to those who contribute with feature suggestions and bug reports!