Version Description
- Fixed a php 5.4 compatibility issue
Download this release
Release Info
Developer | madalin.ungureanu |
Plugin | ![]() |
Version | 3.0.9 |
Comparing to | |
See all releases |
Code changes from version 3.0.8 to 3.0.9
- front-end/default-fields/recaptcha/recaptcha.php +4 -3
- index.php +2 -2
- readme.txt +4 -1
- translation/profile-builder.pot +4 -4
front-end/default-fields/recaptcha/recaptcha.php
CHANGED
@@ -150,9 +150,10 @@ function wppb_recaptcha_script_footer(){
|
|
150 |
}
|
151 |
|
152 |
$lang = '&hl=en';
|
153 |
-
|
154 |
-
if(!empty(
|
155 |
-
|
|
|
156 |
}
|
157 |
|
158 |
echo '<script src="https://www.google.com/recaptcha/api.js?onload=wppbRecaptchaCallback&render=explicit'.$lang.'" async defer></script>';
|
150 |
}
|
151 |
|
152 |
$lang = '&hl=en';
|
153 |
+
$locale = get_locale();
|
154 |
+
if(!empty($locale)) {
|
155 |
+
$locale_parts = explode('_',$locale);
|
156 |
+
$lang = '&hl='.urlencode($locale_parts[0]);
|
157 |
}
|
158 |
|
159 |
echo '<script src="https://www.google.com/recaptcha/api.js?onload=wppbRecaptchaCallback&render=explicit'.$lang.'" async defer></script>';
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Profile Builder
|
4 |
Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
|
5 |
Description: Login, registration and edit profile shortcodes for the front-end. Also you can choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
6 |
-
Version: 3.0.
|
7 |
Author: Cozmoslabs
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
Text Domain: profile-builder
|
@@ -63,7 +63,7 @@ function wppb_free_plugin_init() {
|
|
63 |
*
|
64 |
*
|
65 |
*/
|
66 |
-
define('PROFILE_BUILDER_VERSION', '3.0.
|
67 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
68 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
69 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
3 |
Plugin Name: Profile Builder
|
4 |
Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
|
5 |
Description: Login, registration and edit profile shortcodes for the front-end. Also you can choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
6 |
+
Version: 3.0.9
|
7 |
Author: Cozmoslabs
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
Text Domain: profile-builder
|
63 |
*
|
64 |
*
|
65 |
*/
|
66 |
+
define('PROFILE_BUILDER_VERSION', '3.0.9' );
|
67 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
68 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
69 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/
|
|
4 |
Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content, profile
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 5.3.2
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -169,6 +169,9 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
|
|
169 |
12. Role Editor
|
170 |
|
171 |
== Changelog ==
|
|
|
|
|
|
|
172 |
= 3.0.8 =
|
173 |
* Modified how we display the user roles in backend edit users to be consistent with how wordpress does it
|
174 |
* Fixed an issue with user role search not working when pressing enter key
|
4 |
Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content, profile
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 3.0.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
169 |
12. Role Editor
|
170 |
|
171 |
== Changelog ==
|
172 |
+
= 3.0.9 =
|
173 |
+
* Fixed a php 5.4 compatibility issue
|
174 |
+
|
175 |
= 3.0.8 =
|
176 |
* Modified how we display the user roles in backend edit users to be consistent with how wordpress does it
|
177 |
* Fixed an issue with user role search not working when pressing enter key
|
translation/profile-builder.pot
CHANGED
@@ -4583,7 +4583,7 @@ msgstr ""
|
|
4583 |
msgid "This field is required"
|
4584 |
msgstr ""
|
4585 |
|
4586 |
-
#: features/functions.php:748, front-end/default-fields/recaptcha/recaptcha.php:
|
4587 |
msgid "Please enter a (valid) reCAPTCHA value"
|
4588 |
msgstr ""
|
4589 |
|
@@ -6931,15 +6931,15 @@ msgstr ""
|
|
6931 |
msgid "To use reCAPTCHA you must get an API key from"
|
6932 |
msgstr ""
|
6933 |
|
6934 |
-
#: front-end/default-fields/recaptcha/recaptcha.php:
|
6935 |
msgid "For security reasons, you must pass the remote ip to reCAPTCHA!"
|
6936 |
msgstr ""
|
6937 |
|
6938 |
-
#: front-end/default-fields/recaptcha/recaptcha.php:
|
6939 |
msgid "To use reCAPTCHA you must get an API public key from:"
|
6940 |
msgstr ""
|
6941 |
|
6942 |
-
#: front-end/default-fields/recaptcha/recaptcha.php:
|
6943 |
msgid "Click the BACK button on your browser, and try again."
|
6944 |
msgstr ""
|
6945 |
|
4583 |
msgid "This field is required"
|
4584 |
msgstr ""
|
4585 |
|
4586 |
+
#: features/functions.php:748, front-end/default-fields/recaptcha/recaptcha.php:470, front-end/default-fields/recaptcha/recaptcha.php:479, front-end/default-fields/recaptcha/recaptcha.php:532, front-end/default-fields/recaptcha/recaptcha.php:577
|
4587 |
msgid "Please enter a (valid) reCAPTCHA value"
|
4588 |
msgstr ""
|
4589 |
|
6931 |
msgid "To use reCAPTCHA you must get an API key from"
|
6932 |
msgstr ""
|
6933 |
|
6934 |
+
#: front-end/default-fields/recaptcha/recaptcha.php:185
|
6935 |
msgid "For security reasons, you must pass the remote ip to reCAPTCHA!"
|
6936 |
msgstr ""
|
6937 |
|
6938 |
+
#: front-end/default-fields/recaptcha/recaptcha.php:250
|
6939 |
msgid "To use reCAPTCHA you must get an API public key from:"
|
6940 |
msgstr ""
|
6941 |
|
6942 |
+
#: front-end/default-fields/recaptcha/recaptcha.php:532
|
6943 |
msgid "Click the BACK button on your browser, and try again."
|
6944 |
msgstr ""
|
6945 |
|