USP Pro version 1.8 released with some great new features! Here is a summary of the changes..

The 1.8 update brings many bug fixes, enhancements, and new features. Most notably, USP Pro 1.8 features unlimited custom custom fields, multiple category fields (chained categories), user shortcodes for uploaded images, and over 40 action and filter hooks. Additional awesomeness includes HTML-formatted emails and HTML5-friendly inputs like url, email, range, and number.

New features!

  • Unlimited custom custom fields!
  • Forms now support multiple category fields (chained/combo categories)
  • User shortcodes ([img-1] thru [img-5]) to auto-display uploaded images
  • Specify size of auto-display images (thumbnail, medium, large, or full)
  • Restore default plugin options (added to “More” settings)
  • usp-subject now attached to submitted post as custom field
  • Over 40 new action and filter hooks
  • Option to send email in HTML or plain-text format for contact forms and post alerts
  • Option to add custom attributes to the <form> tag
  • Options to specify default values for post title and content
  • New “custom” attribute for all form Quicktags/Shortcodes
  • Input types for custom fields now include: url, search, email, tel, month, week, time, datetime, datetime-local, color, date, range, number

Improvements!

  • Integrated support for Parsley 2
  • Improved logic of submission_redirect() function
  • Improved logic of registration hooks and options calls in usp-pro.php
  • Improved logic of send_email_alert() function
  • Replaced UTF-8 with get_option('blog_charset') in several functions
  • Removed @charset "UTF-8"; from all stylesheets
  • Replaced htmlentities() and htmlspecialchars() with sanitize_text_field()
  • Removed paragraph tags from table cells on plugin settings page
  • Moved settings section descriptions into their own file
  • Increased minimum required version to WP 3.7
  • Added reply-to headers to contact-form emails
  • Cleaned up plain-text emails formatting etc.
  • Improved some settings descriptions
  • Changed the way default email from address is handled (see option Admin: Contact Form: “Email From”)
  • Added default template demo of the classic USP form (from the free version of USP)
  • Removed menu location for usp_form/usp_post for better compatibility with plugins that do declare a menu location

Squashed bugs!

  • callback_dropdown() now displays correct value for select options (user roles)
  • Duplicate errors for alt, caption, description fields
  • Missing error class for alt, caption, description fields
  • Undefined index for categories array in usp-forms.php
  • Global redirect success not working when redirect failure not specified
  • Local redirect success not working properly
  • Custom CSS class included in attribute without preceding space
  • Approval email not sent to user, replaced get_userdata() with get_the_author_meta()
  • Unpredictable results with max-character functionality
  • Custom fields errors and session remembering not working
  • Custom content not added to contact emails when post is not submitted
  • Category checkboxes not remembering values
  • usp_style setting was not included in uninstall.php

Additionally, plugin documentation and form demos were updated, further testing was performed on WP version 4.1 (alpha), and of course there was the usual “code check n clean” to make it all good. See the plugin’s readme.txt file for complete Changelog.

Thank you to those who contribute with feature suggestions and bug reports!

Learn more about USP Pro »