PluginProbe
User Submitted Posts – Enable Users to Submit Posts from the Front End / 20260916
User Submitted Posts – Enable Users to Submit Posts from the Front End v20260916
20260916 20260810 20260608 20230806 20230809 20230811 20230901 20230902 20230914 20231102 20240319 20240516 20240703 20241026 20250327 20250329 20251121 20251210 20260110 20260113 20260207 20260217 20260407 20260422 trunk All 59 releases
← All changes | user-submitted-posts.php +10 -10 2026021720260916 View file →
@@ -8,11 +8,11 @@
8 8 Author URI: https://plugin-planet.com/
9 9 Donate link: https://monzillamedia.com/donate.html
10 10 Contributors: specialk
11 11 Requires at least: 4.7
12 - Tested up to: 7.0
13 - Stable tag: 20260217
14 - Version: 20260217
12 + Tested up to: 7.1
13 + Stable tag: 20260916
14 + Version: 20260916
15 15 Requires PHP: 5.6.20
16 16 Text Domain: usp
17 17 Domain Path: /languages
18 18 License: GPL v2 or later
@@ -35,9 +35,9 @@
35 35
36 36 if (!defined('ABSPATH')) die();
37 37
38 38 if (!defined('USP_WP_VERSION')) define('USP_WP_VERSION', '4.7');
39 -if (!defined('USP_VERSION')) define('USP_VERSION', '20260217');
39 +if (!defined('USP_VERSION')) define('USP_VERSION', '20260916');
40 40 if (!defined('USP_PLUGIN')) define('USP_PLUGIN', 'User Submitted Posts');
41 41 if (!defined('USP_FILE')) define('USP_FILE', plugin_basename(__FILE__));
42 42 if (!defined('USP_PATH')) define('USP_PATH', plugin_dir_path(__FILE__));
43 43 if (!defined('USP_URL')) define('USP_URL', plugin_dir_url (__FILE__));
@@ -119,10 +119,10 @@
119 119 deactivate_plugins(USP_FILE);
120 120
121 121 $msg = '<strong>'. USP_PLUGIN .'</strong> ';
122 122 $msg .= esc_html__('requires WordPress ', 'usp') . USP_WP_VERSION;
123 - $msg .= esc_html__(' or higher, and has been deactivated! ', 'usp');
124 - $msg .= esc_html__('Please return to the', 'usp') .' <a href="'. admin_url() .'">';
123 + $msg .= esc_html__(' or higher, and has been deactivated. ', 'usp');
124 + $msg .= esc_html__('Please return to the', 'usp') .' <a href="'. admin_url('plugins.php') .'">';
125 125 $msg .= esc_html__('WordPress Admin Area', 'usp') .'</a> ';
126 126 $msg .= esc_html__('to upgrade WordPress and try again.', 'usp');
127 127
128 128 wp_die($msg);
@@ -695,12 +695,12 @@
695 695 if (!empty($name) || !empty($email) || !empty($url) || !empty($ip)) {
696 696
697 697 echo '<ul style="margin-left:24px;list-style:square outside;">';
698 698
699 - if (!empty($name)) echo '<li>'. esc_html__('Submitter Name: ', 'usp') . $name .'</li>';
700 - if (!empty($email)) echo '<li>'. esc_html__('Submitter Email: ', 'usp') . $email .'</li>';
701 - if (!empty($url)) echo '<li>'. esc_html__('Submitter URL: ', 'usp') . $url .'</li>';
702 - if (!empty($ip) && !$usp_options['disable_ip_tracking']) echo '<li>'. esc_html__('Submitter IP: ', 'usp') . $ip .'</li>';
699 + if (!empty($name)) echo '<li>'. esc_html__('Submitter Name: ', 'usp') . esc_html($name) .'</li>';
700 + if (!empty($email)) echo '<li>'. esc_html__('Submitter Email: ', 'usp') . esc_html($email) .'</li>';
701 + if (!empty($url)) echo '<li>'. esc_html__('Submitter URL: ', 'usp') . esc_html($url) .'</li>';
702 + if (!empty($ip) && !$usp_options['disable_ip_tracking']) echo '<li>'. esc_html__('Submitter IP: ', 'usp') . esc_html($ip) .'</li>';
703 703
704 704 echo '</ul>';
705 705
706 706 }