USP Pro version 2.4 now available! This update focuses on bug fixes, better translation support, and improved functionality for custom Rich Text Editors (RTEs). USP Pro 2.4 also brings some other great improvements to make your front-end posting experience more secure, flexible, and better than ever. Read on to learn more..
Bug Fixes
USP Pro 2.4 fixes the following bugs:
- Bugfix: Content Filter setting stripping out line breaks
- Bugfix:
[usp_pro_display_posts]
userid not working with Author Name - Bugfix: Invalid argument supplied for
foreach()
inusp-posts.php
- Bugfix: “Non-Admin Media” feature not working on WP Pages
- Bugfix: targeted loading not working for query-string URLs
- Bugfix: custom names/prefixes not working with custom RTEs
- Bugfix: label attribute not working for custom RTEs
Translation Support
USP Pro 2.4 improves support for localization/translation:
- Renames translation template from “usp.pot” to “usp-pro.pot”
- Changes text-domain from “usp” to “usp-pro”
- Generates new translation template
- Fine-tunes translation strings
- Replaces
_e()
withesc_html_e()
or esc_attr_e()
- Replaces
__()
withesc_html__()
oresc_attr__()
- Removes
define('USP_DOMAIN', '/languages/');
Custom RTEs
USP Pro 2.4 improves the functionality and appearance of custom RTEs:
- Adds new error styles to custom RTEs
- Adds new default styles to custom RTEs
- Improves existing styles for custom RTEs
- Improves support for multiple custom RTEs
- Introduces new attribute for custom RTEs:
rte_id
Improvements
- Updates WP Admin Notices
- Greatly improves flexibility of the display submitted-posts shortcode
- Removes unused
$allowed_atts
and$allowedposttags
fromvalidate_admin()
- Adds more allowed attributes for Post Formatting and other settings
- Removes
add_post_status()
due to deprecatedpost_stati
hook - Replaces
WP_PLUGIN_URL
withplugins_url()
(supports SSL/HTTPS) - Changes USP Form JavaScript/CSS to load only on front-end
- Improves category and custom taxonomy checkbox input ids to be more specific
- Improves custom radio and checkbox input ids to be more specific
As if all that weren’t enough, we also released a new version of the USP Helper plugin :)
Additionally, plugin documentation was updated, further testing was performed on WP version 4.6 and 4.7 (alpha), and the .pot
translation file was updated. See the plugin’s readme.txt file for complete Changelog.
Thank you to those who contribute with feature suggestions and bug reports!