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-alerts
input to disable email alerts per form - Adds auto-attach of hidden
usp-form-id
to 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
0
limited to999
characters - 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
target
from list of allowed attributes - Replaces global
$wp_version
withget_bloginfo('version')
- Replaces
sanitize_text_field
withsanitize_email
for email-related settings - Improves validation functionality, allows more tags in textarea settings
- Changes “More” tab name to “Errors” and rearranges some settings
- Adds
$user_id
and$fields
tousp_submit_post
filter hook - Changes license URL now points to USP Pro License page
- Changes input type to
email
for 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_tags
hook for allowed settings attributes - Adds filter hook
usp_upload_directory
for default uploads directory - Adds filter hook
usp_attached_file_url
for attached file URL - Adds filter hooks
usp_default_title
andusp_default_content
- Adds filter hook
usp_tax_hierarchy_style
for nested taxonomy styles - Adds filter hook
usp_insert_attachment_data
for file attachment data - Adds filter hook
usp_wp_editor_value
for defaultwp_editor
content - Adds filter hook
usp_custom_editor_value
for customwp_editor
content
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!