Version Description
To upgrade User Submitted Posts, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically.
Important! The /custom/
directory is deprecated. If you are using a custom form template, please move it to /wp-content/your-theme/usp/
. For more information, check out the "Custom Submission Form" section under Installation.
Note: uninstalling the plugin from the WP Plugins screen results in the removal of all settings from the WP database. Submitted posts are NOT removed if you deactivate the plugin, reset default options, or uninstall the plugins; that is, all submitted posts (and any attached meta data) must be removed manually.
Download this release
Release Info
Developer | specialk |
Plugin | User Submitted Posts |
Version | 20220517 |
Comparing to | |
See all releases |
Code changes from version 20220123 to 20220517
- readme.txt +18 -4
- user-submitted-posts.php +4 -4
readme.txt
CHANGED
@@ -9,9 +9,9 @@ Author URI: https://plugin-planet.com/
|
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.6
|
12 |
-
Tested up to:
|
13 |
-
Stable tag:
|
14 |
-
Version:
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: usp
|
17 |
Domain Path: /languages
|
@@ -711,7 +711,7 @@ Save changes and done.
|
|
711 |
|
712 |
**How to change the language for Google reCaptcha?**
|
713 |
|
714 |
-
By default, the Google reCaptcha field is displayed in English. To change that to some other language, first locate the two-digit abbreviation for your language [here](https://developers.google.com/recaptcha/docs/language). Then add the following code to your theme (or child theme) functions.php, or add via
|
715 |
|
716 |
`function usp_recaptcha_querystring($query) { return 'en'; }
|
717 |
add_filter('usp_recaptcha_querystring', 'usp_recaptcha_querystring');`
|
@@ -724,6 +724,16 @@ Notice where it says `en`, that is the two-character language code you want to r
|
|
724 |
There is a simplified [USP Demo](https://perishablepress.com/wp/wp-content/online/pages/user-submitted-posts-demo.html) at Perishable Press. Note the demo form is non-functional, just there to give you a general idea. The actual form provided by the plugin has more features, functionality, etc.
|
725 |
|
726 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
727 |
**More FAQs**
|
728 |
|
729 |
Want to read some more FAQs? Check out the [USP FAQs at Perishable Press](https://perishablepress.com/faqs-user-submitted-posts/)
|
@@ -764,6 +774,10 @@ Links, tweets and likes also appreciated. Thanks! :)
|
|
764 |
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!
|
765 |
|
766 |
|
|
|
|
|
|
|
|
|
767 |
**20220123**
|
768 |
|
769 |
* Updates support panel
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.6
|
12 |
+
Tested up to: 6.0
|
13 |
+
Stable tag: 20220517
|
14 |
+
Version: 20220517
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: usp
|
17 |
Domain Path: /languages
|
711 |
|
712 |
**How to change the language for Google reCaptcha?**
|
713 |
|
714 |
+
By default, the Google reCaptcha field is displayed in English. To change that to some other language, first locate the two-digit abbreviation for your language [here](https://developers.google.com/recaptcha/docs/language). Then add the following code to your theme (or child theme) functions.php, or add via [custom plugin](https://digwp.com/2022/02/custom-code-wordpress/):
|
715 |
|
716 |
`function usp_recaptcha_querystring($query) { return 'en'; }
|
717 |
add_filter('usp_recaptcha_querystring', 'usp_recaptcha_querystring');`
|
724 |
There is a simplified [USP Demo](https://perishablepress.com/wp/wp-content/online/pages/user-submitted-posts-demo.html) at Perishable Press. Note the demo form is non-functional, just there to give you a general idea. The actual form provided by the plugin has more features, functionality, etc.
|
725 |
|
726 |
|
727 |
+
**How to allow blank targets in post content?**
|
728 |
+
|
729 |
+
By default, USP removes any `target="_blank"` attributes in submitted post content. This is a recommended security feature. It is possible however to allow blank targets:
|
730 |
+
|
731 |
+
`function usp_content_patterns($array) { return array(); }
|
732 |
+
add_filter('usp_content_patterns', 'usp_content_patterns');`
|
733 |
+
|
734 |
+
That code can be added via theme (or child theme) functions.php, or add via [custom plugin](https://digwp.com/2022/02/custom-code-wordpress/).
|
735 |
+
|
736 |
+
|
737 |
**More FAQs**
|
738 |
|
739 |
Want to read some more FAQs? Check out the [USP FAQs at Perishable Press](https://perishablepress.com/faqs-user-submitted-posts/)
|
774 |
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!
|
775 |
|
776 |
|
777 |
+
**20220517**
|
778 |
+
|
779 |
+
* Tests on WordPress 6.0
|
780 |
+
|
781 |
**20220123**
|
782 |
|
783 |
* Updates support panel
|
user-submitted-posts.php
CHANGED
@@ -9,9 +9,9 @@
|
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.6
|
12 |
-
Tested up to:
|
13 |
-
Stable tag:
|
14 |
-
Version:
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: usp
|
17 |
Domain Path: /languages
|
@@ -40,7 +40,7 @@ if (!defined('ABSPATH')) die();
|
|
40 |
|
41 |
|
42 |
define('USP_WP_VERSION', '4.6');
|
43 |
-
define('USP_VERSION', '
|
44 |
define('USP_PLUGIN', esc_html__('User Submitted Posts', 'usp'));
|
45 |
define('USP_PATH', plugin_basename(__FILE__));
|
46 |
|
9 |
Donate link: https://monzillamedia.com/donate.html
|
10 |
Contributors: specialk
|
11 |
Requires at least: 4.6
|
12 |
+
Tested up to: 6.0
|
13 |
+
Stable tag: 20220517
|
14 |
+
Version: 20220517
|
15 |
Requires PHP: 5.6.20
|
16 |
Text Domain: usp
|
17 |
Domain Path: /languages
|
40 |
|
41 |
|
42 |
define('USP_WP_VERSION', '4.6');
|
43 |
+
define('USP_VERSION', '20220517');
|
44 |
define('USP_PLUGIN', esc_html__('User Submitted Posts', 'usp'));
|
45 |
define('USP_PATH', plugin_basename(__FILE__));
|
46 |
|