Changeset 2583228
- Timestamp:
- 08/16/2021 12:07:22 AM (5 years ago)
- Location:
- notification-runner
- Files:
-
- 2 added
- 5 edited
- 1 copied
-
assets/icon-128x128.png (modified) (previous)
-
tags/1.1.0 (copied) (copied from notification-runner/trunk)
-
tags/1.1.0/index.php (added)
-
tags/1.1.0/notification-runner.php (modified) (2 diffs)
-
tags/1.1.0/readme.txt (modified) (1 diff)
-
trunk/index.php (added)
-
trunk/notification-runner.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
notification-runner/tags/1.1.0/notification-runner.php
r2534541 r2583228 5 5 * Plugin URI: https://irunstuff.com/plugins/notification-runner 6 6 * Description: Disable successful update notification emails for core updates, plugins, and themes. 7 * Version: 1. 0.17 * Version: 1.1.0 8 8 * Author: IRunStuff.com 9 9 * Author URI: https://irunstuff.com … … 22 22 23 23 24 add_filter( 'auto_core_update_send_email', 'irunstuff_stop_auto_update_emails', 10, 4 ); 24 class Notification_Runner_Plugin { 25 function __construct() { 26 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 25 27 26 27 function irunstuff_stop_auto_update_emails( $send, $type, $core_update, $result ) { 28 if ( ! empty( $type ) && $type == 'success' ) { 29 return false; 28 add_filter( 'auto_theme_update_send_email', '__return_false' ); 29 30 add_filter( 'auto_core_update_send_email', array( $this, 'irunstuff_stop_auto_update_emails' ), 10, 4 ); 30 31 } 31 32 32 return true; 33 function irunstuff_stop_auto_update_emails( $send, $type, $core_update, $result ) { 34 if ( ! empty( $type ) && $type == 'success' ) { 35 return false; 36 } 37 38 return true; 39 } 33 40 } 34 41 35 36 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 37 38 39 add_filter( 'auto_theme_update_send_email', '__return_false' ); 42 $notification_runner_plugin = new Notification_Runner_Plugin(); 40 43 41 44 ?> -
notification-runner/tags/1.1.0/readme.txt
r2534541 r2583228 4 4 Requires at least: 5.7.2 5 5 Tested up to: 5.7.2 6 Stable tag: 1. 0.16 Stable tag: 1.1.0 7 7 Requires PHP: 7.0 8 8 License: GNU General Public License v3 (GPLv3) -
notification-runner/trunk/notification-runner.php
r2534541 r2583228 5 5 * Plugin URI: https://irunstuff.com/plugins/notification-runner 6 6 * Description: Disable successful update notification emails for core updates, plugins, and themes. 7 * Version: 1. 0.17 * Version: 1.1.0 8 8 * Author: IRunStuff.com 9 9 * Author URI: https://irunstuff.com … … 22 22 23 23 24 add_filter( 'auto_core_update_send_email', 'irunstuff_stop_auto_update_emails', 10, 4 ); 24 class Notification_Runner_Plugin { 25 function __construct() { 26 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 25 27 26 27 function irunstuff_stop_auto_update_emails( $send, $type, $core_update, $result ) { 28 if ( ! empty( $type ) && $type == 'success' ) { 29 return false; 28 add_filter( 'auto_theme_update_send_email', '__return_false' ); 29 30 add_filter( 'auto_core_update_send_email', array( $this, 'irunstuff_stop_auto_update_emails' ), 10, 4 ); 30 31 } 31 32 32 return true; 33 function irunstuff_stop_auto_update_emails( $send, $type, $core_update, $result ) { 34 if ( ! empty( $type ) && $type == 'success' ) { 35 return false; 36 } 37 38 return true; 39 } 33 40 } 34 41 35 36 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 37 38 39 add_filter( 'auto_theme_update_send_email', '__return_false' ); 42 $notification_runner_plugin = new Notification_Runner_Plugin(); 40 43 41 44 ?> -
notification-runner/trunk/readme.txt
r2534541 r2583228 4 4 Requires at least: 5.7.2 5 5 Tested up to: 5.7.2 6 Stable tag: 1. 0.16 Stable tag: 1.1.0 7 7 Requires PHP: 7.0 8 8 License: GNU General Public License v3 (GPLv3)
Note: See TracChangeset
for help on using the changeset viewer.