Version Description
Download this release
Release Info
Developer | Cimmo |
Plugin | Cimy User Extra Fields |
Version | 2.5.4 |
Comparing to | |
See all releases |
Code changes from version 2.5.3 to 2.5.4
- README_OFFICIAL.txt +5 -0
- cimy_uef_functions.php +3 -6
- cimy_uef_options.php +2 -2
- cimy_user_extra_fields.php +13 -11
- css/cimy_uef_register_nousername.css +1 -1
- readme.txt +1 -1
README_OFFICIAL.txt
CHANGED
@@ -627,6 +627,11 @@ A lot of times I cannot reproduce the problem and I need more details, so if you
|
|
627 |
|
628 |
|
629 |
CHANGELOG:
|
|
|
|
|
|
|
|
|
|
|
630 |
v2.5.3 - 24/06/2013
|
631 |
- Fixed updating extra fields from a different blog doesn't work (MS per-blog only) (thanks to GilesFarrow)
|
632 |
- Fixed Securimage captcha sometimes does not validate correctly codes (thanks to websitesareus)
|
627 |
|
628 |
|
629 |
CHANGELOG:
|
630 |
+
v2.5.4 - 11/07/2013
|
631 |
+
- Fixed extra fields were not shown on certain themes, like: 'Modular' theme and 'Emporium' theme for WooCommerce (thanks to eArtboard, detoner and Rinaldo Pavanello)
|
632 |
+
- Fixed default directory's permissions on Unix servers was set to 0777, now is handled by WordPress if FS_CHMOD_DIR is not set (thanks to KZeni)
|
633 |
+
- Fixed 'no username registration' were causing some unrelated html paragraph to be hidden (thanks to flymike for the patch)
|
634 |
+
|
635 |
v2.5.3 - 24/06/2013
|
636 |
- Fixed updating extra fields from a different blog doesn't work (MS per-blog only) (thanks to GilesFarrow)
|
637 |
- Fixed Securimage captcha sometimes does not validate correctly codes (thanks to websitesareus)
|
cimy_uef_functions.php
CHANGED
@@ -768,8 +768,7 @@ function cimy_manage_upload($input_name, $user_login, $rules, $old_file=false, $
|
|
768 |
chmod($blog_path, FS_CHMOD_DIR);
|
769 |
}
|
770 |
else {
|
771 |
-
|
772 |
-
chmod($blog_path, 0777);
|
773 |
}
|
774 |
}
|
775 |
}
|
@@ -808,8 +807,7 @@ function cimy_manage_upload($input_name, $user_login, $rules, $old_file=false, $
|
|
808 |
chmod($user_path, FS_CHMOD_DIR);
|
809 |
}
|
810 |
else {
|
811 |
-
|
812 |
-
chmod($user_path, 0777);
|
813 |
}
|
814 |
}
|
815 |
|
@@ -820,8 +818,7 @@ function cimy_manage_upload($input_name, $user_login, $rules, $old_file=false, $
|
|
820 |
chmod($file_path, FS_CHMOD_DIR);
|
821 |
}
|
822 |
else {
|
823 |
-
|
824 |
-
chmod($file_path, 0777);
|
825 |
}
|
826 |
}
|
827 |
|
768 |
chmod($blog_path, FS_CHMOD_DIR);
|
769 |
}
|
770 |
else {
|
771 |
+
wp_mkdir_p($blog_path);
|
|
|
772 |
}
|
773 |
}
|
774 |
}
|
807 |
chmod($user_path, FS_CHMOD_DIR);
|
808 |
}
|
809 |
else {
|
810 |
+
wp_mkdir_p($user_path);
|
|
|
811 |
}
|
812 |
}
|
813 |
|
818 |
chmod($file_path, FS_CHMOD_DIR);
|
819 |
}
|
820 |
else {
|
821 |
+
wp_mkdir_p($file_path);
|
|
|
822 |
}
|
823 |
}
|
824 |
|
cimy_uef_options.php
CHANGED
@@ -287,7 +287,7 @@ function cimy_show_options($results, $embedded) {
|
|
287 |
if (defined("FS_CHMOD_DIR"))
|
288 |
@mkdir($cuef_upload_path, FS_CHMOD_DIR);
|
289 |
else
|
290 |
-
|
291 |
}
|
292 |
|
293 |
if (is_multisite()) {
|
@@ -296,7 +296,7 @@ function cimy_show_options($results, $embedded) {
|
|
296 |
if (defined("FS_CHMOD_DIR"))
|
297 |
@mkdir(WP_CONTENT_DIR.'/mu-plugins', FS_CHMOD_DIR);
|
298 |
else
|
299 |
-
|
300 |
}
|
301 |
if (!is_file(WP_CONTENT_DIR.'/mu-plugins/cimy_uef_mu_activation.php'))
|
302 |
copy($cuef_plugin_dir.'/cimy_uef_mu_activation.php', WP_CONTENT_DIR.'/mu-plugins/cimy_uef_mu_activation.php');
|
287 |
if (defined("FS_CHMOD_DIR"))
|
288 |
@mkdir($cuef_upload_path, FS_CHMOD_DIR);
|
289 |
else
|
290 |
+
wp_mkdir_p($cuef_upload_path);
|
291 |
}
|
292 |
|
293 |
if (is_multisite()) {
|
296 |
if (defined("FS_CHMOD_DIR"))
|
297 |
@mkdir(WP_CONTENT_DIR.'/mu-plugins', FS_CHMOD_DIR);
|
298 |
else
|
299 |
+
wp_mkdir_p(WP_CONTENT_DIR.'/mu-plugins');
|
300 |
}
|
301 |
if (!is_file(WP_CONTENT_DIR.'/mu-plugins/cimy_uef_mu_activation.php'))
|
302 |
copy($cuef_plugin_dir.'/cimy_uef_mu_activation.php', WP_CONTENT_DIR.'/mu-plugins/cimy_uef_mu_activation.php');
|
cimy_user_extra_fields.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Cimy User Extra Fields
|
4 |
Plugin URI: http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/
|
5 |
Description: Add some useful fields to registration and user's info
|
6 |
-
Version: 2.5.
|
7 |
Author: Marco Cimmino
|
8 |
Author URI: mailto:cimmino.marco@gmail.com
|
9 |
License: GPL2
|
@@ -161,19 +161,21 @@ add_action('admin_init', 'cimy_uef_admin_init');
|
|
161 |
add_action('init', 'cimy_uef_init');
|
162 |
|
163 |
$cimy_uef_name = "Cimy User Extra Fields";
|
164 |
-
$cimy_uef_version = "2.5.
|
165 |
$cimy_uef_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/";
|
166 |
$cimy_project_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/support-the-cimy-project-paypal/";
|
167 |
|
168 |
-
|
169 |
-
|
170 |
-
$start_cimy_uef_comment
|
171 |
-
$start_cimy_uef_comment .= "\
|
172 |
-
$start_cimy_uef_comment .= "
|
173 |
-
|
174 |
-
$
|
175 |
-
|
176 |
-
$end_cimy_uef_comment
|
|
|
|
|
177 |
|
178 |
$cimy_uef_domain = 'cimy_uef';
|
179 |
$cimy_uef_i18n_is_setup = false;
|
3 |
Plugin Name: Cimy User Extra Fields
|
4 |
Plugin URI: http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/
|
5 |
Description: Add some useful fields to registration and user's info
|
6 |
+
Version: 2.5.4
|
7 |
Author: Marco Cimmino
|
8 |
Author URI: mailto:cimmino.marco@gmail.com
|
9 |
License: GPL2
|
161 |
add_action('init', 'cimy_uef_init');
|
162 |
|
163 |
$cimy_uef_name = "Cimy User Extra Fields";
|
164 |
+
$cimy_uef_version = "2.5.4";
|
165 |
$cimy_uef_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/";
|
166 |
$cimy_project_url = "http://www.marcocimmino.net/cimy-wordpress-plugins/support-the-cimy-project-paypal/";
|
167 |
|
168 |
+
// No new lines in the html comment, otherwise wpautop makes them <br /> tags and then this bug of wptexturize messes with the end tag
|
169 |
+
// see: http://core.trac.wordpress.org/ticket/8912
|
170 |
+
$start_cimy_uef_comment = "<!--";
|
171 |
+
$start_cimy_uef_comment .= "\tStart code from ".$cimy_uef_name." ".$cimy_uef_version;
|
172 |
+
$start_cimy_uef_comment .= "\tCopyright (c) 2006-2013 Marco Cimmino";
|
173 |
+
$start_cimy_uef_comment .= "\t".$cimy_uef_url;
|
174 |
+
$start_cimy_uef_comment .= "\t-->\n";
|
175 |
+
|
176 |
+
$end_cimy_uef_comment = "\n<!--";
|
177 |
+
$end_cimy_uef_comment .= "\tEnd of code from ".$cimy_uef_name;
|
178 |
+
$end_cimy_uef_comment .= "\t-->\n";
|
179 |
|
180 |
$cimy_uef_domain = 'cimy_uef';
|
181 |
$cimy_uef_i18n_is_setup = false;
|
css/cimy_uef_register_nousername.css
CHANGED
@@ -2,6 +2,6 @@
|
|
2 |
display: none;
|
3 |
}
|
4 |
|
5 |
-
p:first-child {
|
6 |
display: none;
|
7 |
}
|
2 |
display: none;
|
3 |
}
|
4 |
|
5 |
+
form#registerform>p:first-child {
|
6 |
display: none;
|
7 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Website link: http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra
|
|
5 |
Tags: cimy, admin, registration, profile, extra fields, avatar, gravatar, recaptcha, captcha
|
6 |
Requires at least: 3.1
|
7 |
Tested up to: 3.6
|
8 |
-
Stable tag: 2.5.
|
9 |
|
10 |
Add some useful fields to registration and user's info
|
11 |
|
5 |
Tags: cimy, admin, registration, profile, extra fields, avatar, gravatar, recaptcha, captcha
|
6 |
Requires at least: 3.1
|
7 |
Tested up to: 3.6
|
8 |
+
Stable tag: 2.5.4
|
9 |
|
10 |
Add some useful fields to registration and user's info
|
11 |
|