User Submitted Posts - Version 20171104

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 must be removed manually.

Download this release

Release Info

Developer specialk
Plugin Icon 128x128 User Submitted Posts
Version 20171104
Comparing to
See all releases

Code changes from version 20171103 to 20171104

readme.txt CHANGED
@@ -10,8 +10,8 @@ Donate link: https://m0n.co/donate
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
- Stable tag: 20171103
14
- Version: 20171103
15
Requires PHP: 5.2
16
Text Domain: usp
17
Domain Path: /languages
@@ -591,6 +591,11 @@ Links, tweets and likes also appreciated. Thanks! :)
591
592
*Thank you to everyone who shares feedback for User Submitted Posts!*
593
594
**20171103**
595
596
* Fixes PHP Warning for `htmlspecialchars_decode()`
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
+ Stable tag: 20171104
14
+ Version: 20171104
15
Requires PHP: 5.2
16
Text Domain: usp
17
Domain Path: /languages
591
592
*Thank you to everyone who shares feedback for User Submitted Posts!*
593
594
+ **20171104**
595
+
596
+ * Fixes bug involving jQuery cookie functionality
597
+ * Tests on WordPress 4.9
598
+
599
**20171103**
600
601
* Fixes PHP Warning for `htmlspecialchars_decode()`
resources/jquery.usp.core.js CHANGED
@@ -67,15 +67,15 @@ jQuery(document).ready(function($) {
67
});
68
}
69
function usp_remember() {
70
- usp_cookie('[name=user-submitted-name]');
71
- usp_cookie('[name=user-submitted-email]');
72
- usp_cookie('[name=user-submitted-url]');
73
- usp_cookie('[name=user-submitted-title]');
74
- usp_cookie('[name=user-submitted-tags]');
75
- usp_cookie('[name=user-submitted-category]');
76
- usp_cookie('[name=user-submitted-content]');
77
- usp_cookie('[name='+ usp_custom_field +']');
78
- usp_cookie('[name=user-submitted-captcha]');
79
}
80
function usp_forget() {
81
var re = /[?&]success=/;
67
});
68
}
69
function usp_remember() {
70
+ usp_cookie('[name="user-submitted-name"]');
71
+ usp_cookie('[name="user-submitted-email"]');
72
+ usp_cookie('[name="user-submitted-url"]');
73
+ usp_cookie('[name="user-submitted-title"]');
74
+ usp_cookie('[name="user-submitted-tags"]');
75
+ usp_cookie('[name="user-submitted-category"]');
76
+ usp_cookie('[name="user-submitted-content"]');
77
+ usp_cookie('[name="'+ usp_custom_field +'"]');
78
+ usp_cookie('[name="user-submitted-captcha"]');
79
}
80
function usp_forget() {
81
var re = /[?&]success=/;
user-submitted-posts.php CHANGED
@@ -10,8 +10,8 @@
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
- Stable tag: 20171103
14
- Version: 20171103
15
Requires PHP: 5.2
16
Text Domain: usp
17
Domain Path: /languages
@@ -40,7 +40,7 @@ if (!defined('ABSPATH')) die();
40
41
42
define('USP_WP_VERSION', '4.1');
43
- define('USP_VERSION', '20171103');
44
define('USP_PLUGIN', esc_html__('User Submitted Posts', 'usp'));
45
define('USP_PATH', plugin_basename(__FILE__));
46
10
Contributors: specialk
11
Requires at least: 4.1
12
Tested up to: 4.9
13
+ Stable tag: 20171104
14
+ Version: 20171104
15
Requires PHP: 5.2
16
Text Domain: usp
17
Domain Path: /languages
40
41
42
define('USP_WP_VERSION', '4.1');
43
+ define('USP_VERSION', '20171104');
44
define('USP_PLUGIN', esc_html__('User Submitted Posts', 'usp'));
45
define('USP_PATH', plugin_basename(__FILE__));
46