WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress - Version 3.5.10

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon 128x128 WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress
Version 3.5.10
Comparing to
See all releases

Code changes from version 3.5.9 to 3.5.10

admin/promotion.php CHANGED
@@ -27,8 +27,8 @@ class WPUF_Admin_Promotion {
27
  $current_time = $this->convert_utc_to_est();
28
 
29
  if (
30
- strtotime( $current_time ) > strtotime( '2020-12-04 23:59:00 EST' )
31
- || strtotime( $current_time ) < strtotime( '2020-11-23 09:00:00 EST' )
32
  ) {
33
  return;
34
  }
@@ -59,6 +59,15 @@ class WPUF_Admin_Promotion {
59
  $notice = __( 'Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your Cyber Monday', 'wp-user-frontend' );
60
  $this->generate_notice( $notice, $option_name );
61
  }
 
 
 
 
 
 
 
 
 
62
  }
63
 
64
  /**
@@ -237,8 +246,8 @@ class WPUF_Admin_Promotion {
237
  <p>
238
  <?php echo $message; ?>
239
  <a
240
- href="https://wedevs.com/wp-user-frontend-pro/pricing?utm_medium=text&utm_source=wordpress-wpuf"
241
- target="_blank">Deals Now</a>
242
  </p>
243
  <button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
244
  </div>
27
  $current_time = $this->convert_utc_to_est();
28
 
29
  if (
30
+ strtotime( $current_time ) > strtotime( '2021-01-08 23:59:00 EST' )
31
+ || strtotime( $current_time ) < strtotime( '2020-12-22 09:00:00 EST' )
32
  ) {
33
  return;
34
  }
59
  $notice = __( 'Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your Cyber Monday', 'wp-user-frontend' );
60
  $this->generate_notice( $notice, $option_name );
61
  }
62
+
63
+ if (
64
+ strtotime( '2020-12-22 09:00:00 EST' ) < strtotime( $current_time )
65
+ && strtotime( $current_time ) < strtotime( '2021-01-08 23:59:00 EST' )
66
+ ) {
67
+ $option_name = 'wpuf_2020_chrismas';
68
+ $notice = __( 'Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your ', 'wp-user-frontend' );
69
+ $this->generate_notice( $notice, $option_name );
70
+ }
71
  }
72
 
73
  /**
246
  <p>
247
  <?php echo $message; ?>
248
  <a
249
+ href="https://wedevs.com/wp-user-frontend-pro/pricing?utm_medium=text&utm_source=wordpress-wpuf-holidays"
250
+ target="_blank">Holiday Deals Now.</a>
251
  </p>
252
  <button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>
253
  </div>
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = v3.5.9 (11 December, 2020) =
2
  * Fix - Once trial subscription is used, it couldn't reset
3
  * Fix - Subscription cancel doesn't work
1
+ = v3.5.10 (18 December, 2020) =
2
+ * Update - Added holiday promotional offer notice
3
+
4
  = v3.5.9 (11 December, 2020) =
5
  * Fix - Once trial subscription is used, it couldn't reset
6
  * Fix - Subscription cancel doesn't work
languages/wp-user-frontend.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP User Frontend 3.5.9\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2020-12-11 06:17:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -569,8 +569,8 @@ msgstr ""
569
 
570
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:35
571
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:82
572
- #: admin/promotion.php:208 admin/promotion.php:212 admin/promotion.php:269
573
- #: admin/promotion.php:273
574
  msgid "Unauthorized operation"
575
  msgstr ""
576
 
@@ -3070,15 +3070,19 @@ msgstr ""
3070
  msgid "Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your Cyber Monday"
3071
  msgstr ""
3072
 
3073
- #: admin/promotion.php:109
 
 
 
 
3074
  msgid "Sure! I'd love to!"
3075
  msgstr ""
3076
 
3077
- #: admin/promotion.php:110
3078
  msgid "I've already left a review"
3079
  msgstr ""
3080
 
3081
- #: admin/promotion.php:111
3082
  msgid "Never show again"
3083
  msgstr ""
3084
 
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 3.5.10\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2020-12-18 11:00:28+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
569
 
570
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:35
571
  #: admin/form-builder/class-wpuf-admin-form-builder-ajax.php:82
572
+ #: admin/promotion.php:217 admin/promotion.php:221 admin/promotion.php:278
573
+ #: admin/promotion.php:282
574
  msgid "Unauthorized operation"
575
  msgstr ""
576
 
3070
  msgid "Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your Cyber Monday"
3071
  msgstr ""
3072
 
3073
+ #: admin/promotion.php:68
3074
+ msgid "Enjoy Up To 50% OFF on WP User Frontend Pro. Get Your "
3075
+ msgstr ""
3076
+
3077
+ #: admin/promotion.php:118
3078
  msgid "Sure! I'd love to!"
3079
  msgstr ""
3080
 
3081
+ #: admin/promotion.php:119
3082
  msgid "I've already left a review"
3083
  msgstr ""
3084
 
3085
+ #: admin/promotion.php:120
3086
  msgid "Never show again"
3087
  msgstr ""
3088
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Forms, registration, profile-builder, login, membership, frontend-post
5
  Requires at least: 4.0
6
  Tested up to: 5.6
7
  Requires PHP: 5.6
8
- Stable tag: 3.5.9
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -263,6 +263,9 @@ redirected to the edit page with that post id. Then you'll see the edit post for
263
 
264
  == Changelog ==
265
 
 
 
 
266
  = v3.5.9 (11 December, 2020) =
267
  * Fix - Once trial subscription is used, it couldn't reset
268
  * Fix - Subscription cancel doesn't work
5
  Requires at least: 4.0
6
  Tested up to: 5.6
7
  Requires PHP: 5.6
8
+ Stable tag: 3.5.10
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
263
 
264
  == Changelog ==
265
 
266
+ = v3.5.10 (18 December, 2020) =
267
+ * Update - Added holiday promotional offer notice
268
+
269
  = v3.5.9 (11 December, 2020) =
270
  * Fix - Once trial subscription is used, it couldn't reset
271
  * Fix - Subscription cancel doesn't work
wpuf.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP User Frontend
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: weDevs
7
- Version: 3.5.9
8
  Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Text Domain: wp-user-frontend
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'WPUF_VERSION', '3.5.9' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: weDevs
7
+ Version: 3.5.10
8
  Author URI: https://wedevs.com/?utm_source=WPUF_Author_URI
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'WPUF_VERSION', '3.5.10' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', __DIR__ );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );