USP Pro version 2.5 now available! This latest update focuses on bug fixes, security, and performance. USP Pro 2.5 also brings some great new features and improvements to make your front-end posting experience better than ever. Version 2.5 is a FREE download to everyone who owns the plugin. Read on to learn more about the latest and greatest USP Pro.
New Features
USP Pro version 2.5 adds the following much-requested features:
- Optional edit/delete links for the display-posts shortcode
- Adds new email alert shortcodes for post categories and tags:
%%post_cats%%and%%post_tags%% - Adds support for more combo categories
Bug Fixes
USP Pro 2.5 fixes the following bugz:
- Bugfix: file uploads not working when
keyattribute specified - Bugfix:
[name]shortcode not working properly - Bugfix: fields returning an error for “0” values
- Bugfix: custom fields not attached for “0” values
- Bugfix: shortcut variable not removed when empty value
- Bugfix: PHP Notice: Undefined index for empty Custom Fields
Improvements
USP Pro 2.5 brings the following improvements:
- Improves function
usp_enqueue_resources() - Improves USP Login/Register form functionality
- Improves function
usp_custom_fields_checkboxes() - Moves “Display Form on Success” to top of page
- Introduces new utility include file
utility.php - Improves display of code-related plugin settings
- Reorganizes some plugin settings for better flow
- Updates some settings labels for better clarity
- Enhances
<abbr>styles for USP Quicktag dialogs (thanks Firefox) - Adds
if (!defined('ABSPATH')) die();to files - Refines some form styles provided by plugin
New Hooks
USP Pro 2.5 adds the following action and filter hooks:
usp_login_redirect_loginusp_login_redirect_registerusp_login_redirect_resetusp_file_name_primary_keyusp_alert_shortcut_replace_emptyusp_shortcode_display_posts_edit_titleusp_shortcode_display_posts_edit_textusp_shortcode_display_posts_delete_titleusp_shortcode_display_posts_delete_textusp_shortcode_display_posts_modlink_sep1usp_shortcode_display_posts_modlink_sep2
General Stuff
Other changes made to USP Pro version 2.5:
- Changes false to
array()in allwp_enqueue_style() - Changes
sanitize_text_field()toesc_url()for URL field - Removes
novalidatefrom “Custom Form Attributes” setting - Replaces
data-validate="parsley"withdata-parsley-validatein “Custom Form Attributes” setting - Replaces
htmlspecialchars()withstripslashes()invalidate_style() - Changes stable tag from trunk to latest version
- Updates plugin license informations
Additionally, plugin documentation was updated, further testing was performed on WP version 4.6 and 4.7 (beta), and the .pot translation file was updated. USP Pro documentation and tutorials are soon to be 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!