Version Description
FIXED: php-notice for missing $deprecated variable.
Download this release
Release Info
Developer | Virgial |
Plugin | Manage Notification E-mails |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.0 to 1.5.1
- includes/pluggable-functions-1.4.php +4 -5
- manage-notification-emails.php +3 -3
- readme.txt +4 -2
includes/pluggable-functions-1.4.php
CHANGED
@@ -2,11 +2,10 @@
|
|
2 |
/**
|
3 |
|
4 |
STOP SENDING NOTIFICATION MAILS TO THE USERS
|
5 |
-
version: 1.5.
|
6 |
updated: the core pluggable function wp_new_user_notification
|
7 |
added: passing through the $deprecated and $notify
|
8 |
-
|
9 |
-
1.2.0 initial
|
10 |
*/
|
11 |
|
12 |
if (!defined('ABSPATH')) die();
|
@@ -78,7 +77,7 @@ function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' )
|
|
78 |
|
79 |
if (!empty($famne_options['wp_new_user_notification_to_admin']))
|
80 |
{
|
81 |
-
fa_new_user_notification_to_admin($user_id,$notify);
|
82 |
}
|
83 |
|
84 |
if (!empty($famne_options['wp_new_user_notification_to_user']))
|
@@ -168,7 +167,7 @@ endif;
|
|
168 |
|
169 |
|
170 |
|
171 |
-
function fa_new_user_notification_to_admin ($user_id,$notify='')
|
172 |
{
|
173 |
|
174 |
//Most parts of this function are copied form pluggable.php
|
2 |
/**
|
3 |
|
4 |
STOP SENDING NOTIFICATION MAILS TO THE USERS
|
5 |
+
version: 1.5.1
|
6 |
updated: the core pluggable function wp_new_user_notification
|
7 |
added: passing through the $deprecated and $notify
|
8 |
+
fixed notice of $deprecated
|
|
|
9 |
*/
|
10 |
|
11 |
if (!defined('ABSPATH')) die();
|
77 |
|
78 |
if (!empty($famne_options['wp_new_user_notification_to_admin']))
|
79 |
{
|
80 |
+
fa_new_user_notification_to_admin($user_id,$deprecated,$notify);
|
81 |
}
|
82 |
|
83 |
if (!empty($famne_options['wp_new_user_notification_to_user']))
|
167 |
|
168 |
|
169 |
|
170 |
+
function fa_new_user_notification_to_admin ($user_id,$deprecated,$notify='')
|
171 |
{
|
172 |
|
173 |
//Most parts of this function are copied form pluggable.php
|
manage-notification-emails.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Manage Notification E-mails
|
4 |
-
Plugin URI: https://www.freeamigos.nl/wp-plugins/manage-notification-emails/1.
|
5 |
Description: This plugin gives you the option to disable some of the notification e-mails send by Wordpress. It's a simple plugin but effective.
|
6 |
-
Version: 1.5.
|
7 |
Author: Virgial Berveling
|
8 |
Author URI: https://www.freeamigos.nl
|
9 |
Text Domain: manage-notification-emails
|
@@ -59,7 +59,7 @@ License: GPLv2
|
|
59 |
|
60 |
if (!defined('ABSPATH')) die();
|
61 |
|
62 |
-
define( 'FA_MNE_VERSION', '1.5.
|
63 |
define( 'FA_MNE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
64 |
define( 'FA_MNE_PLUGIN_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
65 |
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Manage Notification E-mails
|
4 |
+
Plugin URI: https://www.freeamigos.nl/wp-plugins/manage-notification-emails/1.5.1
|
5 |
Description: This plugin gives you the option to disable some of the notification e-mails send by Wordpress. It's a simple plugin but effective.
|
6 |
+
Version: 1.5.1
|
7 |
Author: Virgial Berveling
|
8 |
Author URI: https://www.freeamigos.nl
|
9 |
Text Domain: manage-notification-emails
|
59 |
|
60 |
if (!defined('ABSPATH')) die();
|
61 |
|
62 |
+
define( 'FA_MNE_VERSION', '1.5.1' );
|
63 |
define( 'FA_MNE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
64 |
define( 'FA_MNE_PLUGIN_DIR', untrailingslashit( dirname( __FILE__ ) ) );
|
65 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: (Virgial)
|
|
3 |
Tags: notification,notify,email,user,password,moderator,postauthor,admin,e-mail,switch
|
4 |
Requires at least: 4.0.0
|
5 |
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYG56SLWNG42N
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -62,6 +62,8 @@ If you're one of the early installers, than you'll be happy to see that de new u
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
65 |
= 1.5.0 =
|
66 |
UPGRADED: Upgraded the pluggable functions file. Fixing the missing PassWordHash Class bug.
|
67 |
|
3 |
Tags: notification,notify,email,user,password,moderator,postauthor,admin,e-mail,switch
|
4 |
Requires at least: 4.0.0
|
5 |
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TYG56SLWNG42N
|
6 |
+
Tested up to: 5.4.0
|
7 |
+
Stable tag: 1.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
62 |
|
63 |
== Changelog ==
|
64 |
|
65 |
+
= 1.5.1 =
|
66 |
+
FIXED: php-notice for missing $deprecated variable.
|
67 |
= 1.5.0 =
|
68 |
UPGRADED: Upgraded the pluggable functions file. Fixing the missing PassWordHash Class bug.
|
69 |
|