Version Description
Download this release
Release Info
Developer | rabbii |
Plugin | WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress |
Version | 3.1.7 |
Comparing to | |
See all releases |
Code changes from version 3.1.6 to 3.1.7
- class/subscription.php +1 -4
- includes/class-frontend-render-form.php +1 -1
- includes/class-login-widget.php +5 -5
- includes/fields/class-field-featured-image.php +3 -2
- includes/setup-wizard.php +6 -4
- languages/wp-user-frontend.pot +55 -51
- readme.txt +11 -3
- templates/dashboard/billing-address.php +1 -0
- wpuf.php +2 -2
class/subscription.php
CHANGED
@@ -511,7 +511,7 @@ class WPUF_Subscription {
|
|
511 |
update_post_meta( $post_id, 'wpuf_post_status', 'published' );
|
512 |
|
513 |
|
514 |
-
} elseif ( $force_pack && $fallback_cost && !$has_post ) {
|
515 |
//there is some error and it needs payment
|
516 |
//add a uniqid to track the post easily
|
517 |
$order_id = uniqid( rand( 10, 1000 ), false );
|
@@ -541,9 +541,6 @@ class WPUF_Subscription {
|
|
541 |
} else {
|
542 |
$charging_enabled = 'yes';
|
543 |
}
|
544 |
-
// if ( wpuf_get_option( 'charge_posting', 'wpuf_payment', 'no' ) != 'yes' ) {
|
545 |
-
// return;
|
546 |
-
// }
|
547 |
|
548 |
$userdata = get_userdata( get_current_user_id() );
|
549 |
|
511 |
update_post_meta( $post_id, 'wpuf_post_status', 'published' );
|
512 |
|
513 |
|
514 |
+
} elseif ( $pay_per_post || ($force_pack && $fallback_cost && !$has_post) ) {
|
515 |
//there is some error and it needs payment
|
516 |
//add a uniqid to track the post easily
|
517 |
$order_id = uniqid( rand( 10, 1000 ), false );
|
541 |
} else {
|
542 |
$charging_enabled = 'yes';
|
543 |
}
|
|
|
|
|
|
|
544 |
|
545 |
$userdata = get_userdata( get_current_user_id() );
|
546 |
|
includes/class-frontend-render-form.php
CHANGED
@@ -544,7 +544,7 @@ class WPUF_Frontend_Render_Form{
|
|
544 |
|
545 |
foreach ($taxonomy_vars as $taxonomy ) {
|
546 |
|
547 |
-
if(isset($_POST[$taxonomy['name']] ) && ( $_POST[$taxonomy['name']] !=''
|
548 |
|
549 |
if ( is_object_in_taxonomy( $this->form_settings['post_type'], $taxonomy['name'] ) ) {
|
550 |
|
544 |
|
545 |
foreach ($taxonomy_vars as $taxonomy ) {
|
546 |
|
547 |
+
if(isset($_POST[$taxonomy['name']] ) && ( $_POST[$taxonomy['name']] !='' ) ) {
|
548 |
|
549 |
if ( is_object_in_taxonomy( $this->form_settings['post_type'], $taxonomy['name'] ) ) {
|
550 |
|
includes/class-login-widget.php
CHANGED
@@ -28,9 +28,9 @@ class WPUF_Login_Widget extends WP_Widget {
|
|
28 |
*/
|
29 |
public function ajax_login() {
|
30 |
|
31 |
-
$user_login = $_POST['log'];
|
32 |
-
$user_pass = $_POST['pwd'];
|
33 |
-
$rememberme = $_POST['rememberme'];
|
34 |
|
35 |
if ( empty( $user_login ) || empty( $user_pass ) ) {
|
36 |
wp_send_json_error( array( 'message'=> __( 'Please fill all form fields', 'wp-user-frontend') ) );
|
@@ -43,7 +43,7 @@ class WPUF_Login_Widget extends WP_Widget {
|
|
43 |
wp_send_json_success( array( 'message'=> __( 'Login successful!', 'wp-user-frontend' ) ) );
|
44 |
}
|
45 |
}
|
46 |
-
wp_set_auth_cookie( $user->ID, $rememberme
|
47 |
}
|
48 |
|
49 |
/**
|
@@ -64,7 +64,7 @@ class WPUF_Login_Widget extends WP_Widget {
|
|
64 |
*/
|
65 |
function ajax_reset_pass() {
|
66 |
|
67 |
-
$username_or_email = $_POST['user_login'];
|
68 |
|
69 |
// Check if input variables are empty
|
70 |
if ( empty( $username_or_email ) ) {
|
28 |
*/
|
29 |
public function ajax_login() {
|
30 |
|
31 |
+
$user_login = trim( $_POST['log'] );
|
32 |
+
$user_pass = trim( $_POST['pwd'] );
|
33 |
+
$rememberme = isset( $_POST['rememberme'] ) ? $_POST['rememberme'] : false;
|
34 |
|
35 |
if ( empty( $user_login ) || empty( $user_pass ) ) {
|
36 |
wp_send_json_error( array( 'message'=> __( 'Please fill all form fields', 'wp-user-frontend') ) );
|
43 |
wp_send_json_success( array( 'message'=> __( 'Login successful!', 'wp-user-frontend' ) ) );
|
44 |
}
|
45 |
}
|
46 |
+
wp_set_auth_cookie( $user->ID, $rememberme );
|
47 |
}
|
48 |
|
49 |
/**
|
64 |
*/
|
65 |
function ajax_reset_pass() {
|
66 |
|
67 |
+
$username_or_email = trim( $_POST['user_login'] );
|
68 |
|
69 |
// Check if input variables are empty
|
70 |
if ( empty( $username_or_email ) ) {
|
includes/fields/class-field-featured-image.php
CHANGED
@@ -42,14 +42,15 @@ class WPUF_Form_Field_Featured_Image extends WPUF_Field_Contract {
|
|
42 |
|
43 |
$this->field_print_label($field_settings, $form_id );
|
44 |
|
45 |
-
|
|
|
46 |
|
47 |
?>
|
48 |
|
49 |
<div class="wpuf-fields">
|
50 |
<div id="wpuf-<?php echo $unique_id; ?>-upload-container">
|
51 |
<div class="wpuf-attachment-upload-filelist" data-type="file" data-required="<?php echo $field_settings['required']; ?>">
|
52 |
-
<a id="wpuf-<?php echo $unique_id; ?>-pickfiles" data-form_id="<?php echo $form_id; ?>" class="button file-selector <?php echo ' wpuf_' . $field_settings['name'] . '_' . $form_id; ?>" href="#"><?php echo $
|
53 |
|
54 |
<ul class="wpuf-attachment-list thumbnails">
|
55 |
|
42 |
|
43 |
$this->field_print_label($field_settings, $form_id );
|
44 |
|
45 |
+
// Check for the existance of 'button_label' and fallback to label if it is not found
|
46 |
+
$label = array_key_exists( 'button_label', $field_settings ) ? $field_settings['button_label'] : $field_settings['label'];
|
47 |
|
48 |
?>
|
49 |
|
50 |
<div class="wpuf-fields">
|
51 |
<div id="wpuf-<?php echo $unique_id; ?>-upload-container">
|
52 |
<div class="wpuf-attachment-upload-filelist" data-type="file" data-required="<?php echo $field_settings['required']; ?>">
|
53 |
+
<a id="wpuf-<?php echo $unique_id; ?>-pickfiles" data-form_id="<?php echo $form_id; ?>" class="button file-selector <?php echo ' wpuf_' . $field_settings['name'] . '_' . $form_id; ?>" href="#"><?php echo $label; ?></a>
|
54 |
|
55 |
<ul class="wpuf-attachment-list thumbnails">
|
56 |
|
includes/setup-wizard.php
CHANGED
@@ -74,10 +74,12 @@ class WPUF_Setup_Wizard {
|
|
74 |
public function add_custom_menu_class() {
|
75 |
global $submenu;
|
76 |
|
77 |
-
|
78 |
-
foreach
|
79 |
-
|
80 |
-
|
|
|
|
|
81 |
}
|
82 |
}
|
83 |
}
|
74 |
public function add_custom_menu_class() {
|
75 |
global $submenu;
|
76 |
|
77 |
+
if ( !empty($submenu) ) {
|
78 |
+
foreach( $submenu as $key => $items ) {
|
79 |
+
foreach ($items as $index => $item) {
|
80 |
+
if( 'wpuf-setup' == $item[2] ) {
|
81 |
+
$submenu['index.php'][$index][4] = "wpuf-setup-menu-link";
|
82 |
+
}
|
83 |
}
|
84 |
}
|
85 |
}
|
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.1.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date: 2019-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -70,7 +70,7 @@ msgid "<span style=\"color:#f18500\">Help</span>"
|
|
70 |
msgstr ""
|
71 |
|
72 |
#: admin/class-admin-settings.php:118 admin/class-admin-settings.php:156
|
73 |
-
#: admin/form-builder/views/form-builder.php:9 includes/setup-wizard.php:
|
74 |
msgid "Settings"
|
75 |
msgstr ""
|
76 |
|
@@ -142,7 +142,7 @@ msgstr ""
|
|
142 |
|
143 |
#: admin/class-admin-subscription.php:216
|
144 |
#: admin/class-admin-subscription.php:570 class/frontend-account.php:244
|
145 |
-
#: class/subscription.php:
|
146 |
#: templates/subscriptions/pack-details.php:25
|
147 |
msgid "Free"
|
148 |
msgstr ""
|
@@ -304,7 +304,7 @@ msgstr ""
|
|
304 |
|
305 |
#: admin/class-admin-subscription.php:754
|
306 |
#: admin/form-builder/class-wpuf-admin-form-builder.php:266
|
307 |
-
#: class/payment.php:199 class/subscription.php:
|
308 |
#: includes/class-list-table-subscribers.php:128 lib/appsero/Insights.php:751
|
309 |
#: templates/dashboard/subscription.php:61
|
310 |
msgid "Cancel"
|
@@ -419,7 +419,7 @@ msgid ""
|
|
419 |
msgstr ""
|
420 |
|
421 |
#: admin/class-tools.php:351 admin/installer.php:30
|
422 |
-
#: includes/setup-wizard.php:
|
423 |
msgid "Install WPUF Pages"
|
424 |
msgstr ""
|
425 |
|
@@ -522,7 +522,7 @@ msgstr ""
|
|
522 |
#: admin/form-builder/assets/js/components/form-featured_image/template.php:6
|
523 |
#: admin/form-builder/assets/js/components/form-image_upload/template.php:6
|
524 |
#: class/render-form.php:1682
|
525 |
-
#: includes/fields/class-field-featured-image.php:
|
526 |
#: includes/fields/class-field-image.php:125
|
527 |
#: includes/fields/class-field-image.php:146
|
528 |
msgid "Select Image"
|
@@ -847,7 +847,7 @@ msgid "Payment Options"
|
|
847 |
msgstr ""
|
848 |
|
849 |
#: admin/html/form-settings-payment.php:25 admin/settings-options.php:362
|
850 |
-
#: includes/setup-wizard.php:
|
851 |
msgid "Enable Payments"
|
852 |
msgstr ""
|
853 |
|
@@ -3030,13 +3030,13 @@ msgid "Enable image upload in post area"
|
|
3030 |
msgstr ""
|
3031 |
|
3032 |
#: admin/template-post.php:93 admin/template.php:634
|
3033 |
-
#: includes/fields/class-field-featured-image.php:
|
3034 |
#: includes/fields/class-field-image.php:110
|
3035 |
msgid "Enter maximum upload size limit in KB"
|
3036 |
msgstr ""
|
3037 |
|
3038 |
#: admin/template-post.php:105 admin/template.php:646
|
3039 |
-
#: includes/fields/class-field-featured-image.php:
|
3040 |
#: includes/fields/class-field-image.php:106
|
3041 |
msgid "Max. file size"
|
3042 |
msgstr ""
|
@@ -3713,7 +3713,7 @@ msgstr ""
|
|
3713 |
|
3714 |
#: class/post-form-templates/post.php:76 class/post-form-templates/post.php:77
|
3715 |
#: includes/fields/class-field-featured-image.php:9
|
3716 |
-
#: includes/fields/class-field-featured-image.php:
|
3717 |
#: includes/free/post-form-templates/the_events_calendar.php:125
|
3718 |
#: includes/free/post-form-templates/the_events_calendar.php:126
|
3719 |
#: templates/dashboard/posts.php:74 templates/dashboard.php:84
|
@@ -3843,93 +3843,93 @@ msgstr ""
|
|
3843 |
msgid "Parent Subscription"
|
3844 |
msgstr ""
|
3845 |
|
3846 |
-
#: class/subscription.php:
|
3847 |
msgid "Payment is complete"
|
3848 |
msgstr ""
|
3849 |
|
3850 |
-
#: class/subscription.php:
|
3851 |
msgid "Congratulations, your payment has been completed!"
|
3852 |
msgstr ""
|
3853 |
|
3854 |
-
#: class/subscription.php:
|
3855 |
msgid "Please buy a subscription pack to post"
|
3856 |
msgstr ""
|
3857 |
|
3858 |
-
#: class/subscription.php:
|
3859 |
msgid "<p><i>You have a subscription pack activated. </i></p>"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
-
#: class/subscription.php:
|
3863 |
msgid "<p><i>Pack name: %s </i></p>"
|
3864 |
msgstr ""
|
3865 |
|
3866 |
-
#: class/subscription.php:
|
3867 |
msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
-
#: class/subscription.php:
|
3871 |
msgid "Day"
|
3872 |
msgid_plural "Days"
|
3873 |
msgstr[0] ""
|
3874 |
msgstr[1] ""
|
3875 |
|
3876 |
-
#: class/subscription.php:
|
3877 |
msgid "Week"
|
3878 |
msgid_plural "Weeks"
|
3879 |
msgstr[0] ""
|
3880 |
msgstr[1] ""
|
3881 |
|
3882 |
-
#: class/subscription.php:
|
3883 |
msgid "Month"
|
3884 |
msgid_plural "Months"
|
3885 |
msgstr[0] ""
|
3886 |
msgstr[1] ""
|
3887 |
|
3888 |
-
#: class/subscription.php:
|
3889 |
msgid "Year"
|
3890 |
msgid_plural "Years"
|
3891 |
msgstr[0] ""
|
3892 |
msgstr[1] ""
|
3893 |
|
3894 |
-
#: class/subscription.php:
|
3895 |
msgid "One time payment"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
-
#: class/subscription.php:
|
3899 |
msgid "Every"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
-
#: class/subscription.php:
|
3903 |
msgid "for"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
-
#: class/subscription.php:
|
3907 |
msgid "installments"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
-
#: class/subscription.php:
|
3911 |
msgid "Trial available for first %s %s"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
-
#: class/subscription.php:
|
3915 |
msgid "Buy Now"
|
3916 |
msgstr ""
|
3917 |
|
3918 |
-
#: class/subscription.php:
|
3919 |
msgid "Sign Up"
|
3920 |
msgstr ""
|
3921 |
|
3922 |
-
#: class/subscription.php:
|
3923 |
msgid "There is a <strong>%s</strong> charge to add a new post."
|
3924 |
msgstr ""
|
3925 |
|
3926 |
-
#: class/subscription.php:
|
3927 |
msgid ""
|
3928 |
"Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
|
3929 |
"add a new post."
|
3930 |
msgstr ""
|
3931 |
|
3932 |
-
#: class/subscription.php:
|
3933 |
msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
|
3934 |
msgstr ""
|
3935 |
|
@@ -4079,7 +4079,7 @@ msgid "Postal Code/ZIP"
|
|
4079 |
msgstr ""
|
4080 |
|
4081 |
#: includes/class-billing-address.php:202
|
4082 |
-
#: templates/dashboard/billing-address.php:
|
4083 |
msgid "Update Billing Address"
|
4084 |
msgstr ""
|
4085 |
|
@@ -4836,12 +4836,12 @@ msgstr ""
|
|
4836 |
msgid "Email Address"
|
4837 |
msgstr ""
|
4838 |
|
4839 |
-
#: includes/fields/class-field-featured-image.php:
|
4840 |
#: includes/fields/class-field-image.php:123
|
4841 |
msgid "Button Label"
|
4842 |
msgstr ""
|
4843 |
|
4844 |
-
#: includes/fields/class-field-featured-image.php:
|
4845 |
#: includes/fields/class-field-image.php:128
|
4846 |
msgid "Enter a label for the Select button"
|
4847 |
msgstr ""
|
@@ -5624,77 +5624,77 @@ msgstr ""
|
|
5624 |
msgid "Enable Recurring Payment"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
-
#: includes/setup-wizard.php:
|
5628 |
msgid "Introduction"
|
5629 |
msgstr ""
|
5630 |
|
5631 |
-
#: includes/setup-wizard.php:
|
5632 |
msgid "Ready!"
|
5633 |
msgstr ""
|
5634 |
|
5635 |
-
#: includes/setup-wizard.php:
|
5636 |
msgid "WPUF › Setup Wizard"
|
5637 |
msgstr ""
|
5638 |
|
5639 |
-
#: includes/setup-wizard.php:
|
5640 |
msgid "Return to the WordPress Dashboard"
|
5641 |
msgstr ""
|
5642 |
|
5643 |
-
#: includes/setup-wizard.php:
|
5644 |
msgid "Welcome to the world of WPUF!"
|
5645 |
msgstr ""
|
5646 |
|
5647 |
-
#: includes/setup-wizard.php:
|
5648 |
msgid ""
|
5649 |
"Thank you for choosing WPUF to power your websites frontend! This quick "
|
5650 |
"setup wizard will help you configure the basic settings. <strong>It’s "
|
5651 |
"completely optional and shouldn’t take longer than a minute.</strong>"
|
5652 |
msgstr ""
|
5653 |
|
5654 |
-
#: includes/setup-wizard.php:
|
5655 |
msgid ""
|
5656 |
"No time right now? If you don’t want to go through the wizard, you can skip "
|
5657 |
"and return to the WordPress dashboard. Come back anytime if you change your "
|
5658 |
"mind!"
|
5659 |
msgstr ""
|
5660 |
|
5661 |
-
#: includes/setup-wizard.php:
|
5662 |
msgid "Let's Go!"
|
5663 |
msgstr ""
|
5664 |
|
5665 |
-
#: includes/setup-wizard.php:
|
5666 |
msgid "Not right now"
|
5667 |
msgstr ""
|
5668 |
|
5669 |
-
#: includes/setup-wizard.php:
|
5670 |
msgid "Basic Setting"
|
5671 |
msgstr ""
|
5672 |
|
5673 |
-
#: includes/setup-wizard.php:
|
5674 |
msgid "Make payment enable for user to add posts on frontend."
|
5675 |
msgstr ""
|
5676 |
|
5677 |
-
#: includes/setup-wizard.php:
|
5678 |
msgid "Install neccessery pages on your site frontend."
|
5679 |
msgstr ""
|
5680 |
|
5681 |
-
#: includes/setup-wizard.php:
|
5682 |
msgid "Continue"
|
5683 |
msgstr ""
|
5684 |
|
5685 |
-
#: includes/setup-wizard.php:
|
5686 |
msgid "Skip this step"
|
5687 |
msgstr ""
|
5688 |
|
5689 |
-
#: includes/setup-wizard.php:
|
5690 |
msgid "Thank you!"
|
5691 |
msgstr ""
|
5692 |
|
5693 |
-
#: includes/setup-wizard.php:
|
5694 |
msgid "Welcome to Awesomeness!"
|
5695 |
msgstr ""
|
5696 |
|
5697 |
-
#: includes/setup-wizard.php:
|
5698 |
msgid "Go to Full Settings"
|
5699 |
msgstr ""
|
5700 |
|
@@ -5792,6 +5792,10 @@ msgstr ""
|
|
5792 |
msgid "PayPal API signature"
|
5793 |
msgstr ""
|
5794 |
|
|
|
|
|
|
|
|
|
5795 |
#: templates/dashboard/dashboard.php:5
|
5796 |
msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
|
5797 |
msgstr ""
|
2 |
# This file is distributed under the GPL2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP User Frontend 3.1.7\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2019-05-31 09:35:06+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
70 |
msgstr ""
|
71 |
|
72 |
#: admin/class-admin-settings.php:118 admin/class-admin-settings.php:156
|
73 |
+
#: admin/form-builder/views/form-builder.php:9 includes/setup-wizard.php:123
|
74 |
msgid "Settings"
|
75 |
msgstr ""
|
76 |
|
142 |
|
143 |
#: admin/class-admin-subscription.php:216
|
144 |
#: admin/class-admin-subscription.php:570 class/frontend-account.php:244
|
145 |
+
#: class/subscription.php:864 includes/class-user-subscription.php:307
|
146 |
#: templates/subscriptions/pack-details.php:25
|
147 |
msgid "Free"
|
148 |
msgstr ""
|
304 |
|
305 |
#: admin/class-admin-subscription.php:754
|
306 |
#: admin/form-builder/class-wpuf-admin-form-builder.php:266
|
307 |
+
#: class/payment.php:199 class/subscription.php:777
|
308 |
#: includes/class-list-table-subscribers.php:128 lib/appsero/Insights.php:751
|
309 |
#: templates/dashboard/subscription.php:61
|
310 |
msgid "Cancel"
|
419 |
msgstr ""
|
420 |
|
421 |
#: admin/class-tools.php:351 admin/installer.php:30
|
422 |
+
#: includes/setup-wizard.php:300
|
423 |
msgid "Install WPUF Pages"
|
424 |
msgstr ""
|
425 |
|
522 |
#: admin/form-builder/assets/js/components/form-featured_image/template.php:6
|
523 |
#: admin/form-builder/assets/js/components/form-image_upload/template.php:6
|
524 |
#: class/render-form.php:1682
|
525 |
+
#: includes/fields/class-field-featured-image.php:104
|
526 |
#: includes/fields/class-field-image.php:125
|
527 |
#: includes/fields/class-field-image.php:146
|
528 |
msgid "Select Image"
|
847 |
msgstr ""
|
848 |
|
849 |
#: admin/html/form-settings-payment.php:25 admin/settings-options.php:362
|
850 |
+
#: includes/setup-wizard.php:293
|
851 |
msgid "Enable Payments"
|
852 |
msgstr ""
|
853 |
|
3030 |
msgstr ""
|
3031 |
|
3032 |
#: admin/template-post.php:93 admin/template.php:634
|
3033 |
+
#: includes/fields/class-field-featured-image.php:98
|
3034 |
#: includes/fields/class-field-image.php:110
|
3035 |
msgid "Enter maximum upload size limit in KB"
|
3036 |
msgstr ""
|
3037 |
|
3038 |
#: admin/template-post.php:105 admin/template.php:646
|
3039 |
+
#: includes/fields/class-field-featured-image.php:94
|
3040 |
#: includes/fields/class-field-image.php:106
|
3041 |
msgid "Max. file size"
|
3042 |
msgstr ""
|
3713 |
|
3714 |
#: class/post-form-templates/post.php:76 class/post-form-templates/post.php:77
|
3715 |
#: includes/fields/class-field-featured-image.php:9
|
3716 |
+
#: includes/fields/class-field-featured-image.php:124
|
3717 |
#: includes/free/post-form-templates/the_events_calendar.php:125
|
3718 |
#: includes/free/post-form-templates/the_events_calendar.php:126
|
3719 |
#: templates/dashboard/posts.php:74 templates/dashboard.php:84
|
3843 |
msgid "Parent Subscription"
|
3844 |
msgstr ""
|
3845 |
|
3846 |
+
#: class/subscription.php:745
|
3847 |
msgid "Payment is complete"
|
3848 |
msgstr ""
|
3849 |
|
3850 |
+
#: class/subscription.php:745
|
3851 |
msgid "Congratulations, your payment has been completed!"
|
3852 |
msgstr ""
|
3853 |
|
3854 |
+
#: class/subscription.php:749 class/subscription.php:753
|
3855 |
msgid "Please buy a subscription pack to post"
|
3856 |
msgstr ""
|
3857 |
|
3858 |
+
#: class/subscription.php:767
|
3859 |
msgid "<p><i>You have a subscription pack activated. </i></p>"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
+
#: class/subscription.php:768
|
3863 |
msgid "<p><i>Pack name: %s </i></p>"
|
3864 |
msgstr ""
|
3865 |
|
3866 |
+
#: class/subscription.php:770
|
3867 |
msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
+
#: class/subscription.php:814
|
3871 |
msgid "Day"
|
3872 |
msgid_plural "Days"
|
3873 |
msgstr[0] ""
|
3874 |
msgstr[1] ""
|
3875 |
|
3876 |
+
#: class/subscription.php:815
|
3877 |
msgid "Week"
|
3878 |
msgid_plural "Weeks"
|
3879 |
msgstr[0] ""
|
3880 |
msgstr[1] ""
|
3881 |
|
3882 |
+
#: class/subscription.php:816
|
3883 |
msgid "Month"
|
3884 |
msgid_plural "Months"
|
3885 |
msgstr[0] ""
|
3886 |
msgstr[1] ""
|
3887 |
|
3888 |
+
#: class/subscription.php:817
|
3889 |
msgid "Year"
|
3890 |
msgid_plural "Years"
|
3891 |
msgstr[0] ""
|
3892 |
msgstr[1] ""
|
3893 |
|
3894 |
+
#: class/subscription.php:839
|
3895 |
msgid "One time payment"
|
3896 |
msgstr ""
|
3897 |
|
3898 |
+
#: class/subscription.php:846
|
3899 |
msgid "Every"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
+
#: class/subscription.php:847
|
3903 |
msgid "for"
|
3904 |
msgstr ""
|
3905 |
|
3906 |
+
#: class/subscription.php:847
|
3907 |
msgid "installments"
|
3908 |
msgstr ""
|
3909 |
|
3910 |
+
#: class/subscription.php:853
|
3911 |
msgid "Trial available for first %s %s"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
+
#: class/subscription.php:857
|
3915 |
msgid "Buy Now"
|
3916 |
msgstr ""
|
3917 |
|
3918 |
+
#: class/subscription.php:861
|
3919 |
msgid "Sign Up"
|
3920 |
msgstr ""
|
3921 |
|
3922 |
+
#: class/subscription.php:924
|
3923 |
msgid "There is a <strong>%s</strong> charge to add a new post."
|
3924 |
msgstr ""
|
3925 |
|
3926 |
+
#: class/subscription.php:941
|
3927 |
msgid ""
|
3928 |
"Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
|
3929 |
"add a new post."
|
3930 |
msgstr ""
|
3931 |
|
3932 |
+
#: class/subscription.php:986
|
3933 |
msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
|
3934 |
msgstr ""
|
3935 |
|
4079 |
msgstr ""
|
4080 |
|
4081 |
#: includes/class-billing-address.php:202
|
4082 |
+
#: templates/dashboard/billing-address.php:102
|
4083 |
msgid "Update Billing Address"
|
4084 |
msgstr ""
|
4085 |
|
4836 |
msgid "Email Address"
|
4837 |
msgstr ""
|
4838 |
|
4839 |
+
#: includes/fields/class-field-featured-image.php:102
|
4840 |
#: includes/fields/class-field-image.php:123
|
4841 |
msgid "Button Label"
|
4842 |
msgstr ""
|
4843 |
|
4844 |
+
#: includes/fields/class-field-featured-image.php:107
|
4845 |
#: includes/fields/class-field-image.php:128
|
4846 |
msgid "Enter a label for the Select button"
|
4847 |
msgstr ""
|
5624 |
msgid "Enable Recurring Payment"
|
5625 |
msgstr ""
|
5626 |
|
5627 |
+
#: includes/setup-wizard.php:118
|
5628 |
msgid "Introduction"
|
5629 |
msgstr ""
|
5630 |
|
5631 |
+
#: includes/setup-wizard.php:128
|
5632 |
msgid "Ready!"
|
5633 |
msgstr ""
|
5634 |
|
5635 |
+
#: includes/setup-wizard.php:165
|
5636 |
msgid "WPUF › Setup Wizard"
|
5637 |
msgstr ""
|
5638 |
|
5639 |
+
#: includes/setup-wizard.php:230
|
5640 |
msgid "Return to the WordPress Dashboard"
|
5641 |
msgstr ""
|
5642 |
|
5643 |
+
#: includes/setup-wizard.php:272
|
5644 |
msgid "Welcome to the world of WPUF!"
|
5645 |
msgstr ""
|
5646 |
|
5647 |
+
#: includes/setup-wizard.php:273
|
5648 |
msgid ""
|
5649 |
"Thank you for choosing WPUF to power your websites frontend! This quick "
|
5650 |
"setup wizard will help you configure the basic settings. <strong>It’s "
|
5651 |
"completely optional and shouldn’t take longer than a minute.</strong>"
|
5652 |
msgstr ""
|
5653 |
|
5654 |
+
#: includes/setup-wizard.php:274
|
5655 |
msgid ""
|
5656 |
"No time right now? If you don’t want to go through the wizard, you can skip "
|
5657 |
"and return to the WordPress dashboard. Come back anytime if you change your "
|
5658 |
"mind!"
|
5659 |
msgstr ""
|
5660 |
|
5661 |
+
#: includes/setup-wizard.php:276
|
5662 |
msgid "Let's Go!"
|
5663 |
msgstr ""
|
5664 |
|
5665 |
+
#: includes/setup-wizard.php:277
|
5666 |
msgid "Not right now"
|
5667 |
msgstr ""
|
5668 |
|
5669 |
+
#: includes/setup-wizard.php:289
|
5670 |
msgid "Basic Setting"
|
5671 |
msgstr ""
|
5672 |
|
5673 |
+
#: includes/setup-wizard.php:296
|
5674 |
msgid "Make payment enable for user to add posts on frontend."
|
5675 |
msgstr ""
|
5676 |
|
5677 |
+
#: includes/setup-wizard.php:303
|
5678 |
msgid "Install neccessery pages on your site frontend."
|
5679 |
msgstr ""
|
5680 |
|
5681 |
+
#: includes/setup-wizard.php:308
|
5682 |
msgid "Continue"
|
5683 |
msgstr ""
|
5684 |
|
5685 |
+
#: includes/setup-wizard.php:309
|
5686 |
msgid "Skip this step"
|
5687 |
msgstr ""
|
5688 |
|
5689 |
+
#: includes/setup-wizard.php:344
|
5690 |
msgid "Thank you!"
|
5691 |
msgstr ""
|
5692 |
|
5693 |
+
#: includes/setup-wizard.php:349
|
5694 |
msgid "Welcome to Awesomeness!"
|
5695 |
msgstr ""
|
5696 |
|
5697 |
+
#: includes/setup-wizard.php:353
|
5698 |
msgid "Go to Full Settings"
|
5699 |
msgstr ""
|
5700 |
|
5792 |
msgid "PayPal API signature"
|
5793 |
msgstr ""
|
5794 |
|
5795 |
+
#: templates/dashboard/billing-address.php:84
|
5796 |
+
msgid "Select Country"
|
5797 |
+
msgstr ""
|
5798 |
+
|
5799 |
#: templates/dashboard/dashboard.php:5
|
5800 |
msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
|
5801 |
msgstr ""
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: tareq1988, nizamuddinbabu, sk.shaikat, rabbii, itowhid06, wedevs
|
|
3 |
Donate link: https://tareq.co/donate/
|
4 |
Tags: Forms, registration, profile-builder, login, membership
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
-
Requires PHP: 5.
|
8 |
-
Stable tag: 3.1.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -257,6 +257,14 @@ redirected to the edit page with that post id. Then you'll see the edit post for
|
|
257 |
|
258 |
== Changelog ==
|
259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
= v3.1.6 (23 May, 2019) =
|
261 |
|
262 |
* **Fix:** URL field empty value was not saving.
|
3 |
Donate link: https://tareq.co/donate/
|
4 |
Tags: Forms, registration, profile-builder, login, membership
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.2.1
|
7 |
+
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.1.7
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
257 |
|
258 |
== Changelog ==
|
259 |
|
260 |
+
= v3.1.7 (31 May, 2019) =
|
261 |
+
|
262 |
+
* **Fix:** check for 'button_label' existence before using it.
|
263 |
+
* **Fix:** after accepting bank payment, post status was not changing.
|
264 |
+
* **Fix:** custom taxonomy empty value was not saving when editing a post & field type is a checkbox.
|
265 |
+
* **Fix:** fix PHP warning.
|
266 |
+
* **Improvement:** added `Select Country` text for billing address country field.
|
267 |
+
|
268 |
= v3.1.6 (23 May, 2019) =
|
269 |
|
270 |
* **Fix:** URL field empty value was not saving.
|
templates/dashboard/billing-address.php
CHANGED
@@ -81,6 +81,7 @@ if ( isset( $_POST['update_billing_address'] )
|
|
81 |
$countries = $cs->countries();
|
82 |
?>
|
83 |
<select name="country" id="country">
|
|
|
84 |
<?php
|
85 |
foreach ( $countries as $key => $value ) {
|
86 |
if ( $key == $address_fields['country'] ) { ?>
|
81 |
$countries = $cs->countries();
|
82 |
?>
|
83 |
<select name="country" id="country">
|
84 |
+
<option selected value="-1"><?php _e('Select Country', 'wp-user-frontend'); ?></option>
|
85 |
<?php
|
86 |
foreach ( $countries as $key => $value ) {
|
87 |
if ( $key == $address_fields['country'] ) { ?>
|
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: Tareq Hasan
|
7 |
-
Version: 3.1.
|
8 |
Author URI: https://tareq.co
|
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.1.
|
16 |
define( 'WPUF_FILE', __FILE__ );
|
17 |
define( 'WPUF_ROOT', dirname( __FILE__ ) );
|
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: Tareq Hasan
|
7 |
+
Version: 3.1.7
|
8 |
Author URI: https://tareq.co
|
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.1.7' );
|
16 |
define( 'WPUF_FILE', __FILE__ );
|
17 |
define( 'WPUF_ROOT', dirname( __FILE__ ) );
|
18 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|