Version Description
Download this release
Release Info
Developer | sohelamin |
Plugin | WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- admin/settings.php +1 -1
- languages/wpuf.pot +2 -2
- log.txt +0 -0
- readme.txt +5 -0
- secret.json +0 -6
- wpuf-functions.php +17 -13
- wpuf.php +3 -3
admin/settings.php
CHANGED
@@ -255,4 +255,4 @@ class WPUF_Admin_Settings {
|
|
255 |
public function enqueue_styles() {
|
256 |
wp_enqueue_style( 'wpuf-admin', WPUF_ASSET_URI . '/css/admin.css' );
|
257 |
}
|
258 |
-
}
|
255 |
public function enqueue_styles() {
|
256 |
wp_enqueue_style( 'wpuf-admin', WPUF_ASSET_URI . '/css/admin.css' );
|
257 |
}
|
258 |
+
}
|
languages/wpuf.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WP User Frontend 2.4.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wedevs.com/support/forum/plugin-support/wp-user-frontend/\n"
|
8 |
-
"POT-Creation-Date: 2017-02-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WP User Frontend 2.4.3\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wedevs.com/support/forum/plugin-support/wp-user-frontend/\n"
|
8 |
+
"POT-Creation-Date: 2017-02-07 08:35:46+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
log.txt
DELETED
File without changes
|
readme.txt
CHANGED
@@ -161,6 +161,11 @@ redirected to the edit page with that post id. Then you'll see the edit post for
|
|
161 |
|
162 |
== Changelog ==
|
163 |
|
|
|
|
|
|
|
|
|
|
|
164 |
= v2.4.2 (05 February, 2017) =
|
165 |
|
166 |
* [new] Shortcodes supported on post notification's every field
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= v2.4.3 (07 February, 2017) =
|
165 |
+
|
166 |
+
* [fix] PHP backward compatibility issue
|
167 |
+
|
168 |
+
|
169 |
= v2.4.2 (05 February, 2017) =
|
170 |
|
171 |
* [new] Shortcodes supported on post notification's every field
|
secret.json
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"host": "localhost",
|
3 |
-
"username": "sohelamin",
|
4 |
-
"path": "",
|
5 |
-
"updateFiles": true
|
6 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
wpuf-functions.php
CHANGED
@@ -1473,19 +1473,6 @@ function wpuf_get_currency( $type = '' ) {
|
|
1473 |
return $currency;
|
1474 |
}
|
1475 |
|
1476 |
-
// Polyfill of array_column function
|
1477 |
-
if ( ! function_exists( 'array_column' ) ) {
|
1478 |
-
function array_column( array $input, $column_key, $index_key = null ) {
|
1479 |
-
|
1480 |
-
$result = array();
|
1481 |
-
foreach( $input as $k => $v ) {
|
1482 |
-
$result[ $index_key ? $v[ $index_key ] : $k ] = $v[ $column_key ];
|
1483 |
-
}
|
1484 |
-
|
1485 |
-
return $result;
|
1486 |
-
}
|
1487 |
-
}
|
1488 |
-
|
1489 |
/**
|
1490 |
* Format the pricing number
|
1491 |
*
|
@@ -1516,3 +1503,20 @@ function wpuf_format_price( $number, $with_currency = false ) {
|
|
1516 |
|
1517 |
return $number;
|
1518 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1473 |
return $currency;
|
1474 |
}
|
1475 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1476 |
/**
|
1477 |
* Format the pricing number
|
1478 |
*
|
1503 |
|
1504 |
return $number;
|
1505 |
}
|
1506 |
+
|
1507 |
+
/**
|
1508 |
+
* Polyfill of array_column function
|
1509 |
+
*
|
1510 |
+
* @since 2.4.3
|
1511 |
+
*/
|
1512 |
+
if ( ! function_exists( 'array_column' ) ) {
|
1513 |
+
function array_column( $input, $column_key, $index_key = null ) {
|
1514 |
+
$result = array();
|
1515 |
+
|
1516 |
+
foreach ( $input as $k => $v ) {
|
1517 |
+
$result[ $index_key ? $v[ $index_key ] : $k ] = $v[ $column_key ];
|
1518 |
+
}
|
1519 |
+
|
1520 |
+
return $result;
|
1521 |
+
}
|
1522 |
+
}
|
wpuf.php
CHANGED
@@ -4,13 +4,13 @@ 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.4.
|
8 |
Author URI: https://tareq.co
|
9 |
License: GPL2
|
10 |
TextDomain: wpuf
|
11 |
*/
|
12 |
|
13 |
-
define( 'WPUF_VERSION', '2.4.
|
14 |
define( 'WPUF_FILE', __FILE__ );
|
15 |
define( 'WPUF_ROOT', dirname( __FILE__ ) );
|
16 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|
@@ -440,7 +440,7 @@ class WP_User_Frontend {
|
|
440 |
function plugin_action_links( $links ) {
|
441 |
|
442 |
if ( ! $this->is_pro() ) {
|
443 |
-
$links[] = '<a href="https://wedevs.com/products/plugins/wp-user-frontend-pro/" target="_blank">Get PRO</a>';
|
444 |
}
|
445 |
|
446 |
$links[] = '<a href="' . admin_url( 'admin.php?page=wpuf-settings' ) . '">Settings</a>';
|
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.4.3
|
8 |
Author URI: https://tareq.co
|
9 |
License: GPL2
|
10 |
TextDomain: wpuf
|
11 |
*/
|
12 |
|
13 |
+
define( 'WPUF_VERSION', '2.4.3' );
|
14 |
define( 'WPUF_FILE', __FILE__ );
|
15 |
define( 'WPUF_ROOT', dirname( __FILE__ ) );
|
16 |
define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
|
440 |
function plugin_action_links( $links ) {
|
441 |
|
442 |
if ( ! $this->is_pro() ) {
|
443 |
+
$links[] = '<a href="https://wedevs.com/products/plugins/wp-user-frontend-pro/" target="_blank" style="color: red;">Get PRO</a>';
|
444 |
}
|
445 |
|
446 |
$links[] = '<a href="' . admin_url( 'admin.php?page=wpuf-settings' ) . '">Settings</a>';
|