Version Description
Download this release
Release Info
Developer | rabbii |
Plugin | WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 2.9.1
- admin/form-builder/class-wpuf-form-builder-field-settings.php +1 -1
- admin/posting.php +0 -0
- assets/css/frontend-forms.css +27 -0
- assets/js/frontend-form.js +0 -0
- assets/js/frontend-form.min.js +0 -0
- assets/js/wpuf-form-builder.js +3 -2
- assets/less/frontend-forms.less +18 -0
- class/frontend-dashboard.php +0 -0
- class/frontend-form-post.php +0 -0
- class/render-form.php +1 -1
- languages/wp-user-frontend.pot +6 -3
- readme.txt +7 -1
- templates/dashboard.php +0 -0
- wpuf.php +2 -2
admin/form-builder/class-wpuf-form-builder-field-settings.php
CHANGED
@@ -94,7 +94,7 @@ class WPUF_Form_Builder_Field_Settings {
|
|
94 |
'type' => 'text',
|
95 |
'section' => 'advanced',
|
96 |
'priority' => 22,
|
97 |
-
'help_text' => __( 'Provide a container class name for this field.', 'wp-user-frontend' ),
|
98 |
)
|
99 |
);
|
100 |
|
94 |
'type' => 'text',
|
95 |
'section' => 'advanced',
|
96 |
'priority' => 22,
|
97 |
+
'help_text' => __( 'Provide a container class name for this field. Available classes: wpuf-col-half, wpuf-col-half-last, wpuf-col-one-third, wpuf-col-one-third-last', 'wp-user-frontend' ),
|
98 |
)
|
99 |
);
|
100 |
|
admin/posting.php
CHANGED
File without changes
|
assets/css/frontend-forms.css
CHANGED
@@ -1424,3 +1424,30 @@ ul.wpuf-form .weforms-frontend-field-points {
|
|
1424 |
padding: 10px;
|
1425 |
padding-left: 0;
|
1426 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1424 |
padding: 10px;
|
1425 |
padding-left: 0;
|
1426 |
}
|
1427 |
+
/* Front End Posts List Tools */
|
1428 |
+
.wpuf-posts-options {
|
1429 |
+
padding: 0 10px;
|
1430 |
+
border-right: 1px solid #ccc;
|
1431 |
+
}
|
1432 |
+
.wpuf-posts-options:first-child {
|
1433 |
+
padding-left: 0;
|
1434 |
+
}
|
1435 |
+
.wpuf-posts-options:last-child {
|
1436 |
+
padding-right: 0;
|
1437 |
+
border-right: 0;
|
1438 |
+
}
|
1439 |
+
/* CSS for custom columns */
|
1440 |
+
.wpuf-col-half,
|
1441 |
+
.wpuf-col-half-last {
|
1442 |
+
width: 50%;
|
1443 |
+
float: left;
|
1444 |
+
}
|
1445 |
+
.wpuf-col-one-third,
|
1446 |
+
.wpuf-col-one-third-last {
|
1447 |
+
width: 33%;
|
1448 |
+
float: left;
|
1449 |
+
}
|
1450 |
+
.wpuf-col-half-last + li,
|
1451 |
+
.wpuf-col-one-third-last + li {
|
1452 |
+
clear: left;
|
1453 |
+
}
|
assets/js/frontend-form.js
CHANGED
File without changes
|
assets/js/frontend-form.min.js
CHANGED
File without changes
|
assets/js/wpuf-form-builder.js
CHANGED
@@ -135,8 +135,9 @@
|
|
135 |
var clone = $.extend(true, {}, field),
|
136 |
index = parseInt(payload.index) + 1;
|
137 |
|
138 |
-
clone.id
|
139 |
-
clone.name
|
|
|
140 |
|
141 |
state.form_fields.splice(index, 0, clone);
|
142 |
},
|
135 |
var clone = $.extend(true, {}, field),
|
136 |
index = parseInt(payload.index) + 1;
|
137 |
|
138 |
+
clone.id = payload.new_id;
|
139 |
+
clone.name = clone.name + '_copy';
|
140 |
+
clone.is_new = true;
|
141 |
|
142 |
state.form_fields.splice(index, 0, clone);
|
143 |
},
|
assets/less/frontend-forms.less
CHANGED
@@ -1692,4 +1692,22 @@ ul.wpuf-form .weforms-frontend-field-points{
|
|
1692 |
.wpuf-posts-options:last-child{
|
1693 |
padding-right: 0;
|
1694 |
border-right: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1695 |
}
|
1692 |
.wpuf-posts-options:last-child{
|
1693 |
padding-right: 0;
|
1694 |
border-right: 0;
|
1695 |
+
}
|
1696 |
+
|
1697 |
+
/* CSS for custom columns */
|
1698 |
+
.wpuf-col-half,
|
1699 |
+
.wpuf-col-half-last {
|
1700 |
+
width: 50%;
|
1701 |
+
float: left;
|
1702 |
+
}
|
1703 |
+
|
1704 |
+
.wpuf-col-one-third,
|
1705 |
+
.wpuf-col-one-third-last {
|
1706 |
+
width: 33%;
|
1707 |
+
float: left;
|
1708 |
+
}
|
1709 |
+
|
1710 |
+
.wpuf-col-half-last + li,
|
1711 |
+
.wpuf-col-one-third-last + li {
|
1712 |
+
clear: left;
|
1713 |
}
|
class/frontend-dashboard.php
CHANGED
File without changes
|
class/frontend-form-post.php
CHANGED
File without changes
|
class/render-form.php
CHANGED
@@ -590,7 +590,7 @@ class WPUF_Render_Form {
|
|
590 |
}
|
591 |
|
592 |
if ( !$show_field ) {
|
593 |
-
|
594 |
}
|
595 |
}
|
596 |
|
590 |
}
|
591 |
|
592 |
if ( !$show_field ) {
|
593 |
+
continue;
|
594 |
}
|
595 |
}
|
596 |
|
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 2.9.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date: 2018-08-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -670,7 +670,10 @@ msgid "CSS Class Name"
|
|
670 |
msgstr ""
|
671 |
|
672 |
#: admin/form-builder/class-wpuf-form-builder-field-settings.php:97
|
673 |
-
msgid "
|
|
|
|
|
|
|
674 |
msgstr ""
|
675 |
|
676 |
#: admin/form-builder/class-wpuf-form-builder-field-settings.php:105
|
2 |
# This file is distributed under the GPL2 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP User Frontend 2.9.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2018-08-18 09:14:01+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
670 |
msgstr ""
|
671 |
|
672 |
#: admin/form-builder/class-wpuf-form-builder-field-settings.php:97
|
673 |
+
msgid ""
|
674 |
+
"Provide a container class name for this field. Available classes: "
|
675 |
+
"wpuf-col-half, wpuf-col-half-last, wpuf-col-one-third, "
|
676 |
+
"wpuf-col-one-third-last"
|
677 |
msgstr ""
|
678 |
|
679 |
#: admin/form-builder/class-wpuf-form-builder-field-settings.php:105
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Forms, registration, profile-builder, login, membership
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9.8
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 2.9.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -230,6 +230,12 @@ redirected to the edit page with that post id. Then you'll see the edit post for
|
|
230 |
|
231 |
== Changelog ==
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
= v2.9.0 (16 August, 2018) =
|
234 |
|
235 |
* **New:** The Events Calendar Integration Form
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.9.8
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 2.9.1
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
230 |
|
231 |
== Changelog ==
|
232 |
|
233 |
+
= v2.9.1 (18 August, 2018) =
|
234 |
+
|
235 |
+
* **New:** Added custom classes to make two or three columns form
|
236 |
+
* **Fix:** If add a field with the 'field visibility' to the admin only, it was fine to the admin. But, the field and the fields below were not showing to the non-admin users. It has been fixed in this version.
|
237 |
+
* **Fix:** Duplicated field was not saving on the post form
|
238 |
+
|
239 |
= v2.9.0 (16 August, 2018) =
|
240 |
|
241 |
* **New:** The Events Calendar Integration Form
|
templates/dashboard.php
CHANGED
File without changes
|
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: 2.9.
|
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: wpuf
|
|
12 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
15 |
-
define( 'WPUF_VERSION', '2.9.
|
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: 2.9.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 |
Domain Path: /languages
|
13 |
*/
|
14 |
|
15 |
+
define( 'WPUF_VERSION', '2.9.1' );
|
16 |
define( 'WPUF_FILE', __FILE__ );
|
17 |
define( 'WPUF_ROOT', dirname( __FILE__ ) );
|
18 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|