Version Description
- Pass $theme_my_login by reference in option functions
- Remove accidental invalid characters
Download this release
Release Info
Developer | jfarthing84 |
Plugin | Theme My Login |
Version | 5.0.6 |
Comparing to | |
See all releases |
Code changes from version 5.0.5 to 5.0.6
- admin/includes/admin.php +3 -3
- includes/functions.php +5 -5
- readme.txt +4 -0
- theme-my-login.php +1 -1
admin/includes/admin.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
function wdbj_tml_add_new_user_notification_override_notice() {
|
4 |
add_action('admin_notices', 'wdbj_tml_new_user_notification_override_notice');
|
5 |
}
|
6 |
|
7 |
-
function wdbj_tml_add_password_change_notification_override_notice() {
|
8 |
add_action('admin_notices', 'wdbj_tml_password_change_notification_override_notice');
|
9 |
}
|
10 |
|
@@ -71,7 +71,7 @@ function wdbj_tml_load_settings_page() {
|
|
71 |
// Unset the 'activate_modules' array
|
72 |
unset($theme_my_login->options['activate_modules']);
|
73 |
}
|
74 |
-
|
75 |
// If we have modules to deactivate
|
76 |
if ( isset($theme_my_login->options['deactivate_modules']) ) {
|
77 |
// Deactive them
|
1 |
<?php
|
2 |
|
3 |
+
function wdbj_tml_add_new_user_notification_override_notice() {
|
4 |
add_action('admin_notices', 'wdbj_tml_new_user_notification_override_notice');
|
5 |
}
|
6 |
|
7 |
+
function wdbj_tml_add_password_change_notification_override_notice() {
|
8 |
add_action('admin_notices', 'wdbj_tml_password_change_notification_override_notice');
|
9 |
}
|
10 |
|
71 |
// Unset the 'activate_modules' array
|
72 |
unset($theme_my_login->options['activate_modules']);
|
73 |
}
|
74 |
+
|
75 |
// If we have modules to deactivate
|
76 |
if ( isset($theme_my_login->options['deactivate_modules']) ) {
|
77 |
// Deactive them
|
includes/functions.php
CHANGED
@@ -3,19 +3,19 @@
|
|
3 |
function wdbj_tml_update_option() {
|
4 |
global $theme_my_login;
|
5 |
$args = func_get_args();
|
6 |
-
return call_user_func_array(array(
|
7 |
}
|
8 |
|
9 |
function wdbj_tml_delete_option() {
|
10 |
global $theme_my_login;
|
11 |
$args = func_get_args();
|
12 |
-
return call_user_func_array(array(
|
13 |
}
|
14 |
|
15 |
function wdbj_tml_get_option() {
|
16 |
global $theme_my_login;
|
17 |
$args = func_get_args();
|
18 |
-
return call_user_func_array(array(
|
19 |
}
|
20 |
|
21 |
function wdbj_tml_save_options() {
|
@@ -36,13 +36,13 @@ function wdbj_tml_get_error($code = '') {
|
|
36 |
function wdbj_tml_get_var() {
|
37 |
global $theme_my_login;
|
38 |
$args = func_get_args();
|
39 |
-
return call_user_func_array(array(
|
40 |
}
|
41 |
|
42 |
function wdbj_tml_set_var() {
|
43 |
global $theme_my_login;
|
44 |
$args = func_get_args();
|
45 |
-
return call_user_func_array(array(
|
46 |
}
|
47 |
|
48 |
function wdbj_tml_get_new_instance() {
|
3 |
function wdbj_tml_update_option() {
|
4 |
global $theme_my_login;
|
5 |
$args = func_get_args();
|
6 |
+
return call_user_func_array(array(&$theme_my_login, 'update_option'), $args);
|
7 |
}
|
8 |
|
9 |
function wdbj_tml_delete_option() {
|
10 |
global $theme_my_login;
|
11 |
$args = func_get_args();
|
12 |
+
return call_user_func_array(array(&$theme_my_login, 'delete_option'), $args);
|
13 |
}
|
14 |
|
15 |
function wdbj_tml_get_option() {
|
16 |
global $theme_my_login;
|
17 |
$args = func_get_args();
|
18 |
+
return call_user_func_array(array(&$theme_my_login, 'get_option'), $args);
|
19 |
}
|
20 |
|
21 |
function wdbj_tml_save_options() {
|
36 |
function wdbj_tml_get_var() {
|
37 |
global $theme_my_login;
|
38 |
$args = func_get_args();
|
39 |
+
return call_user_func_array(array(&$theme_my_login, 'get_var'), $args);
|
40 |
}
|
41 |
|
42 |
function wdbj_tml_set_var() {
|
43 |
global $theme_my_login;
|
44 |
$args = func_get_args();
|
45 |
+
return call_user_func_array(array(&$theme_my_login, 'set_var'), $args);
|
46 |
}
|
47 |
|
48 |
function wdbj_tml_get_new_instance() {
|
readme.txt
CHANGED
@@ -43,6 +43,10 @@ None yet. Please visit http://www.jfarthing.com/forum for any support!
|
|
43 |
|
44 |
== Changelog ==
|
45 |
|
|
|
|
|
|
|
|
|
46 |
= 5.0.5 =
|
47 |
* Add 'theme-my-login-page' shortcode before 'theme-my-login' shortcode
|
48 |
|
43 |
|
44 |
== Changelog ==
|
45 |
|
46 |
+
= 5.0.6 =
|
47 |
+
* Pass $theme_my_login by reference in option functions
|
48 |
+
* Remove accidental invalid characters
|
49 |
+
|
50 |
= 5.0.5 =
|
51 |
* Add 'theme-my-login-page' shortcode before 'theme-my-login' shortcode
|
52 |
|
theme-my-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
-
Version: 5.0.
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
Text Domain: theme-my-login
|
3 |
Plugin Name: Theme My Login
|
4 |
Plugin URI: http://www.jfarthing.com/wordpress-plugins/theme-my-login-plugin
|
5 |
Description: Themes the WordPress login, registration and forgot password pages according to your theme.
|
6 |
+
Version: 5.0.6
|
7 |
Author: Jeff Farthing
|
8 |
Author URI: http://www.jfarthing.com
|
9 |
Text Domain: theme-my-login
|