USP Pro version 2.3.2 is now available. The new version enhances some changes made in the previous release, adds some new hooks, squashes some bugs, and makes a number of improvements. Read on to learn more..
Upgrading
USP Pro version 2.3.2 is available via automatic update in the WP Admin Area, or you can download and upgrade manually. As always, the new version of USP Pro is a FREE update for everyone who owns the plugin, so log in, upgrade, and enjoy the latest and greatest.
2.3.1 & 2.3.2
This post covers the two latest versions of USP Pro, versions 2.3.1 and 2.3.2.
Bug Fixes
USP Pro 2.3.1/2.3.2 fixes the following bugs:
- Fixes typo in Admin Alerts shortcut variables info
- Restores previous default values for file name and title
- Replaces
esc_url()
withsanitize_text_field()
for usp-agent custom field
New Hooks
USP Pro 2.3.1/2.3.2 adds the following action and filter hooks:
usp_shortcode_display_posts_type
usp_shortcode_display_posts_size
usp_shortcode_display_posts_before
usp_shortcode_display_posts_after
usp_shortcode_display_posts_title
usp_settings_author_list_args
usp_forms_get_form_id
usp_form_custom_output
usp_custom_fields_checkbox_value
usp_custom_fields_radio_value
usp_custom_fields_select_value
Improvements
USP Pro 2.3.1/2.3.2 brings the following improvements:
- Shortcode [usp_pro_display_posts] now displays Custom Post Types
- Adds “display” attribute to [usp_pro_display_posts] to display excerpt, content, thumbs, or title only
- Replaces database query with
get_users()
inusp-pro.php
- Replaces database query with
get_posts()
inusp-forms.php
- Escapes some internal variables just to be extra safe
- Adds filter hook in form output for adding custom content
- Enables basic HTML in Agree to Terms box (using
{}
bracket replacements) - Hides USP Pro text on Dashboard Widget metabox preference panel
- Tweaks default file name and media title for submitted files
- Adds guid parameter to
wp_insert_attachment()
Additionally, plugin documentation was updated and further testing was performed on WP version 4.5 and 4.6 (alpha). See the plugin’s readme.txt file for complete Changelog.
Thank you to those who contribute with feature suggestions and bug reports!