=== USP Pro === Plugin Name: USP Pro Plugin URI: https://plugin-planet.com/usp-pro/ Description: Create unlimited forms and let visitors submit content, register, and more from the front-end. Tags: guest post, user post, anonymous post, frontend post, public post, share post, submit post, visitor post, user submitted post, upload Author: Jeff Starr Author URI: https://plugin-planet.com/ Donate link: https://monzillamedia.com/donate.html Contributors: specialk Requires at least: 4.6 Tested up to: 6.2 Stable tag: 4.4 Version: 4.4 Requires PHP: 5.6.20 Text Domain: usp-pro Domain Path: /languages License: The USP Pro license is comprised of two parts (see "License" section below for details) Create unlimited forms and let visitors submit content, register, log in, and much more from the front-end of your site. == Description == USP Pro is your complete front-end forms solution, enabling you to create unlimited forms and let visitors submit content, register, and much more. ### Features ### Visit the [USP Pro Homepage](https://plugin-planet.com/usp-pro/) for features, screenshots, and details. ### Getting Started ### Check out the [Quick Start Guide](https://plugin-planet.com/usp-pro-quick-start/) for USP Pro. ### Documentation ### Official USP Pro documentation: * [USP Pro Settings](https://plugin-planet.com/usp-pro-settings/) * [USP Pro Shortcodes](https://plugin-planet.com/usp-pro-shortcodes/) * [USP Pro Template Tags](https://plugin-planet.com/usp-pro-template-tags/) ### Resources ### Further resources and information: * [USP Pro Docs](https://plugin-planet.com/category/docs+usp-pro/) * [USP Pro Forum](https://plugin-planet.com/category/forum+usp-pro/) * [USP Pro Tutorials](https://plugin-planet.com/category/tuts+usp-pro/) * [USP Pro FAQs](https://plugin-planet.com/usp-pro-faqs/) ### Stay Current ### Stay current with USP Pro: * [USP Pro News](https://plugin-planet.com/category/news+usp-pro/) * [Grab the News Feed](https://plugin-planet.com/category/news/feed/) * [Grab the Tutorials Feed](https://plugin-planet.com/category/tuts/feed/) ### Getting Help ### There are two channels for getting help: * Ask a question in the [USP Pro Forum](https://plugin-planet.com/category/forum+usp-pro/) ([login required](https://plugin-planet.com/wp/wp-login.php)) * Send an email via the [contact form](https://plugin-planet.com/support/#contact) The contact form is best for direct support, bug reports, and feedback. ### Downloads ### * [Log in to your account](https://plugin-planet.com/wp/wp-login.php) for current downloads. To learn more about USP Pro, visit [Plugin-Planet.com](https://plugin-planet.com/usp-pro/). ### Privacy ### __User Data:__ User Submitted Posts (USP) enables users to submit post content. It collects data _only_ from users who voluntarily submit content via the USP form. The only involuntary data that is collected is the IP address of the person submitting the form. The plugin provides an option to disable IP collection completely. __Cookies:__ This plugin uses simple cookies to enable dynamic form functionality. No cookies are used for any other purpose. __Services:__ This plugin provides an option to enable Google reCaptcha, which is provided by Google as a third-party service. For details on privacy and more, please refer to official documentation for [Google reCaptcha](https://developers.google.com/recaptcha/). No other outside services or locations are accessed/used by this plugin. ### Developer ### USP Pro is developed and maintained by [Jeff Starr](https://twitter.com/perishable), 15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/). == Installation == ### Installation ### 1. Upload the plugin and activate via the WP Plugins screen 2. Visit Plugins > USP Pro License to enter your license Done. USP Pro is now ready for use. Before going further, please read the [USP Pro Quick Start Guide](https://plugin-planet.com/usp-pro-quick-start/). Learn more about [installing plugins](https://wordpress.org/support/article/managing-plugins/#installing-plugins). ### Usage ### Usage information available in the [USP Pro Quick Start Guide](https://plugin-planet.com/usp-pro-quick-start/). Complete plugin documentation available at [Plugin-Planet.com](https://plugin-planet.com/usp-pro/). ### Upgrades ### Your purchase of USP Pro includes free lifetime upgrades, which include new features, bug fixes, and other improvements. When an upgrade is available, WordPress will notify you in the Admin Area. When you see that there is an update available, just click "Update" and WordPress will perform the upgrade automatically. Note that you can [download the latest version of USP Pro at Plugin Planet](https://plugin-planet.com/download-purchased-plugin/) anytime at your convenience. __Pro Tip:__ Before upgrading, visit "Tools > Backup & Restore" to back up your current settings. That way if something should go wrong, you can always restore your original settings and start over. ### Supported languages ### USP Pro includes translations for the following languages: English = default Slovenian = usp-pro-sl_SI Danish = usp-pro-da_DK [Contact us](https://plugin-planet.com/support/#contact) to request another language. ### Shortcodes ### Visit the [USP Pro Shortcodes Reference](https://plugin-planet.com/usp-pro-shortcodes/). __Note:__ USP Forms must be published (not draft or pending) in order to display via their respective shortcodes. ### Template Tags ### Visit the [USP Pro Template Tags Reference](https://plugin-planet.com/usp-pro-template-tags/). ### License Information ### * [Download purchased plugin](https://plugin-planet.com/download-purchased-plugin/) * [Install purchased plugin](https://plugin-planet.com/install-plugin/) * [Upgrade purchased plugin](https://plugin-planet.com/upgrade-plugin/) * [Get plugin license key](https://plugin-planet.com/get-license-key/) * [Activate plugin license](https://plugin-planet.com/activate-deactivate-plugin-license/) * [Transfer plugin license](https://plugin-planet.com/transfer-plugin-license/) * [Manage licensed domains](https://plugin-planet.com/manage-license/) * [Download purchase receipt](https://plugin-planet.com/download-purchase-receipt/) * [Troubleshooting license activation](https://plugin-planet.com/troubleshooting-license-activation/) ### Restore Default Options ### To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin's Tools settings > "Restore Default Settings". ### Uninstalling ### USP Pro cleans up after itself. All plugin options will be removed from the database when the plugin is uninstalled via the Plugins screen. All submitted posts will NOT be removed when deactivating or uninstalling the plugin. _All submitted posts must be removed manually_ (if you want/choose to remove them). ### Like the plugin? ### If you like USP Pro, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/user-submitted-posts/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you! == Upgrade Notice == This plugin has been tested and is 100% current with the latest version of WordPress. == Frequently Asked Questions == Check out the [USP Pro FAQs](https://plugin-planet.com/usp-pro-faqs/) at Plugin Planet. ### Questions? Feedback? Bugs? ### There are two channels for getting help: * [Ask a question in the USP Pro Forum](https://plugin-planet.com/category/forum+usp-pro/) ([login required](https://plugin-planet.com/wp/wp-login.php)) * [Send an email via the contact form](https://plugin-planet.com/support/#contact) The contact form is best for direct support, bug reports, and feedback. == Screenshots == Screenshots and more available at [Plugin-Planet.com](https://plugin-planet.com/usp-pro/#screenshots). == License == License: The USP Pro license comprises two parts: * __Part 1:__ Its PHP code is licensed under the GPL (v2 or later), like WordPress. [More info](https://www.gnu.org/licenses/). * __Part 2:__ Everything else (e.g., CSS, HTML, JavaScript, images, design) is licensed according to the purchased license. [More info](https://plugin-planet.com/usp-pro/). Without prior written consent from Monzilla Media, you must NOT directly or indirectly: license, sub-license, sell, resell, or provide for free any aspect or component of Part 2. Further license information is available in the plugin directory, `/license/`, and [online](https://plugin-planet.com/wp/files/usp-pro/license.txt). __Upgrades:__ Your purchase of USP Pro includes free lifetime upgrades, which include new features, bug fixes, and other improvements. Copyright 2023 Monzilla Media. All rights reserved. == More from Jeff Starr == Premium WordPress plugins: * [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban bad users and bots * [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Fastest firewall plugin for WordPress * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Block bad bots in a virtual black hole * [GA Pro](https://plugin-planet.com/ga-google-analytics-pro/) - Connect WordPress to Google Analytics * [SAC Pro](https://plugin-planet.com/simple-ajax-chat-pro/) - Unlimited chat rooms for WordPress * [USP Pro](https://plugin-planet.com/usp-pro/) - Advanced front-end forms Quality WordPress books: * [The Tao of WordPress](https://wp-tao.com/) * [Digging into WordPress](https://digwp.com/) * [.htaccess made easy](https://htaccessbook.com/) * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/) * [Wizard's SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/) More awesome stuff on the way :) == Changelog == If you like USP, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/user-submitted-posts/reviews/?rate=5#new-post). It helps to keep development and support going strong. Thank you! **4.4** * Renames `blank_or_zero` function * Improves logic for `plugin_options_page()` * Improves logic for `create_post_examples()` * Replaces `get_page_by_title` with `WP_Query` * Moves License screen to its own settings tab * Adds a hyphen to `uspcontent` id for RTE/Visual Editor * Adds language translation support for "Add another file" * Improves information provided on plugin settings screens * Fixes bug PHP 8.2 "Creation of dynamic property deprecated" * Adds `usp-file-id` custom field for submitted files * Improves settings page content, markup, and styles * Improves logic when calling `get_current_screen()` * Adds license status message to plugin screens * Improves handling of license activation * Improves handling of license constants * Generates new translation template * Tests on WordPress 6.1 + 6.2 (beta) * Tests on PHP 8.1 and 8.2 **4.3.1** * Fixes bug with non-Admins unable to log in * Tests on WordPress 6.1 **4.3** * Adds PHP constant `USP_PRO_URL` * Adds check for existing PHP constants * Adds optional `post_id` attribute to `usp_image` * Fixes bug with Google reCaptcha (v3) timing out * Fixes bug with list output of `[usp_pro_display_posts]` * Adds filter `usp_get_email_vars` to filter email headers * Adds filter `usp_filter_ip_address` to block ip addresses * Adds support for `USP_PRO_LICENSE` via `wp-config.php` * Adds custom footer text to plugin settings * Updates `EDD_SL_Plugin_Updater` script * Improves plugin settings stylesheet * Improves plugin documentation * Updates translation template * Tests on WordPress 6.1 **4.2** * Improves plugin License screen * Removes "Add Demo Forms" button from "Edit USP Form" screen * Plugin settings now available without license * Improves UI for plugin settings page * Generates new translation template * Tests on WordPress 6.0 **4.1.2** * Fixes bug with demo forms * Updates default translation template * Tests on WordPress 5.9 **4.1.1** * Fixes error on PHP versions less than 8 * Tests on WordPress 5.9 **4.1** * Adds `file` attribute to `[usp_image]` * Improves plugin performance in Admin Area * Adds filter hook `usp_dashboard_widget` * Adds filter hook `usp_add_glance_items` * Updates plugin license updater script * Auto-generate forms now disabled by default * Improves loading of translations * Improves plugin settings information * Updates some links to external resources * Changes minimum required WP version to 4.6 * Updates default translation template * Tests on WordPress 5.9 **4.0** * Improves logic of `usp_form()` * Adds `%%delete_link%%` for email alerts * Adds CSS classes to Login/Register form * Adds filter hook `usp_submission_redirect` * Adds `selected` to select field default option * Changes Description field to textarea for user registration demo * Fixes renaming/duplicate bug with demo forms * Fixes bug with email alert shortcut variables * Moves "Tips & Tricks" to post at Plugin Planet * Refines the plugin settings pages * Tests on WordPress 5.8 **3.9** * Adds `[url_link]` user shortcode * Adds filter hook `usp_shortcode_url_link` * Adds support to change reCaptcha language * Adds filter hook `usp_recaptcha_querystring` * Updates Selectize.js frontend control script * Updates Parsley.js frontend validation script * Updates Vex.js library for modal dialog popups * Updates deprecated functions for newer jQuery * Updates inline graphics in plugin settings * Improves/updates readme.txt/docs * Tests on WordPress 5.7 **3.8** * Fixes "array offset" PHP notice * Fixes "curly braces" PHP notice * Fixes bug with numerical taxonomy terms * Fixes bug with submit button not displayed * Adds support for disable-comments checkbox * Updates default translation template * Improves/updates readme.txt/docs * Updates license updater script * Tests on PHP 7.4 and 8.0 * Tests on WordPress 5.6 **3.7** * Adds `form_id` query parameter to form POST requests * Adds `post_link` attribute to `[usp_pro_display_posts]` * Adds `link_title` attribute to `[usp_pro_display_posts]` * Improves support for multiple forms on the same page * Updates default JavaScript support for multiple forms * Improves dashboard widget, adds new hooks: * `usp_widget_drafts_display` * `usp_widget_display_all_posts` * `usp_widget_drafts_message_none` * `usp_widget_drafts_message_some` * Login form displays "Register" tab only if registration is enabled * Fixes bug: dashboard widget not showing all submitted posts * Fixes bug: numeric values now working for custom taxonomy * Fixes bug: form styles not included with success message * Fixes bug: duplicate post feature not working for CPTs * Fixes bug: content filter not working for excerpts * Refines default form styles * Improves loading of admin CSS/JS assets * Updates default translation template * Refines plugin setting page styles * Updates license updater script * Refines readme/documentation * Tests on WordPress 5.5 **3.6** * Adds Google reCaptcha v3 (hidden reCaptcha) * Updates reCaptcha library to version 1.2.4 * Adds filter hook `hook usp_recaptcha_score` * Adds filter hook `usp_display_posts_noposts` * Adds filter hook `usp_post_tags_use_id` * Adds form-id parameter to `usp_form_custom_output` * Adds selectize.js fancy script to tag select field * Enables default option for "External Stylesheet" * Enables default option for "Include Parsley.js" * Generates new default translation template * Improves accuracy on plugin settings page * Improves styles on plugin settings page * Improves styles of USP filter buttons * Improves security of form cookies * Improves Quicktag button infos * Tests on WordPress 5.3 **3.5.1** * Fixes bug with new "fancy" category field * Tests on WordPress 5.3 **3.5** * Fixes bug with user registration name on uploaded files * Adds selectize.js for fancy category select field * Changes input type to `url` for URL field * Updates styles for plugin settings page * Generates new default translation template * Tests on WordPress 5.3 **3.4** * Improves filter-USP button functionality * Adds filter hook `usp_filter_posts_link` * Adds support for "Non-USP" post filter button * Fixes bug with characters removed from email alerts * Fixes bug with multiple files and custom fields * Fixes bug with [featured image key](https://plugin-planet.com/usp-pro-featured-image-key/) not working * Fixes bug where WP file editor could not save file changes * Fixes bug with WP Site Health (Loopback requests and REST API) * Adds filter hook `usp_get_file_name` for `insert_attachments()` * Improves handling of PHP sessions * Updates some links to https * Generates new default translation template * Tests on WordPress 5.3 (alpha) **3.3** * Refines USP License screen UI * Fixes PHP warning for `count()` * Fixes security issue with uploaded images on Apache + FastCGI * Adds `default` attribute for "Agree to Terms" checkbox * Improves form posting for Login/Register form * Bumps [minimum PHP version](https://codex.wordpress.org/Template:Server_requirements) to 5.6.20 * Updates default translation template * Tests on WordPress 5.2 **3.2.1** * Adds another security check for uploaded files (Thanks to Matthias) * Tests on WordPress 5.1 and 5.2 (beta) **3.2** * Deprecates reCaptcha "Version 1" * Removes deprecated (old) reCaptcha * Changes default reCaptcha option to "Version 2" * Improves display of plugin License screen * Improves functionality for one-click plugin updates * Fixes bug with timeouts with `usp_pro_display_posts` * Provides shortcode for adding `#` to custom field values * Adds `url` to allowed attributes in `sanitize_content()` * Adds check for admin user for settings shortcut link * Removes deprecated functions from About tab * Refines plugin settings screen UI * Generates new default translation template * Tests on WordPress 5.1 and 5.2 (alpha) **3.1** * Adds shortcode `[usp_user_avatar]` * Adds email alert shortcode `%%post_slug%%` * Updates plugin settings page details * Updates default translation template * Tests on WordPress 5.0 (beta) **3.0** * Adds additional `display` options for `[usp_pro_display_posts]` * Adds `cat="current"` support to `[usp_pro_display_posts]` shortcode * Adds `usp-login` as `id` attribute to login/register/password form * Adds `rel="noopener noreferrer"` to all [blank-target links](https://perishablepress.com/wordpress-blank-target-vulnerability/) * Replaces `sanitize_text_field` with `wp_strip_all_tags` for styles * Bugfix: JavaScript error flashes as form submits * Bugfix: "USP" filter posts button not working for Custom Post Types * Bugfix: maxlength attribute for tag field incorrect * Bugfix: several PHP Notices were eliminated * Improves logic of `usp_pro_add_glance_items` function * Refines dashboard widget functionality * Updates GDPR blurb and donate link * Regenerates default translation template * Further tests on WP versions 4.9 and 5.0 (alpha) **2.9** * Adds filter hooks: * `usp_display_errors` * `usp_display_errors_all` * `usp_display_errors_custom` * `usp_display_posts_args` * `usp_featured_image` * `usp_custom_value` * `usp_custom_custom_value` * `usp_attachments_postid` * `usp_max_users` * `usp_file_ids` * `usp_image_attachments` * `usp_file_attachments` * `usp_display_posts_default` * `usp_submit_post_after` * `usp_sanitize_content_kses` * `usp_widget_submitted_type` * `usp_widget_submitted_status` * `usp_alert_shortcut_attachment_args` * Adds disable-IP option (for example, to comply with GDPR) * Adds email shortcode `%%post_author%%` for Post Author * Adds email shortcode `%%files%%` for list of file URLs * Adds submitted post count to "At a Glance" on the Dashboard * Adds function to check and warn if free version is installed * Adds support for shortcut variables in alert subject line * Adds more attributes to `[usp_pro_display_posts]` * Adds `required` attribute to `[usp_agree]` * Adds support for new Limit Posts extension * Changes input/label attributes on login/register form * Removes filter hook, `usp_shortcode_display_posts_type` * Removes filter hook, `usp_settings_author_list_args` * Updates deprecated `create_function` for PHP 7.2 * Improves Default Assigned Author setting * Limits default output of `usp_ids()` * Generates new translation template * Tests on WordPress 5.0 **Changelog for previous versions** Available at Plugin Planet: [USP Pro changelog](https://plugin-planet.com/wp/files/usp-pro/changelog.txt) Also check out the [announcement posts for each new version](https://plugin-planet.com/news/).