PHP Notifier v1.0.0
Notify users when the version of PHP running on their server has been or is about to be deprecated and will no longer be supported with security fixes.
Contributors: codeparrots, eherman24, brothman01
Tags: php, version, notifier, notice, deprecated, alert, email
Requires at least: 4.4
Tested up to: WordPress v4.7.2
Stable tag: 1.0.0
License: GPL-2.0
Filters
php_notifier_admin_footer_text
Description: Toggle on/off the additional admin footer text displaying the PHP version. Boolean: True or False Default: True
/**
* Turn off the admin footer text
*/
add_filter( 'php_notifier_admin_footer_text', '__return_false' );php_notifier_warning_message
Description: Alter the PHP warning message displayed. Parameters:
$message- The warning message to be displayed.$warning_type- The type used when displaying the warning message. (Warning types: deprecated, deprecated-soon, unsupported)
/**
* Change the deprecated warning message
*/
function alter_deprecated_warning_message( $message, $warning_type ) {
if ( 'deprecated' === $warning_type ) {
return 'This is the new message that will be displayed.';
}
return $message;
}
add_filter( 'php_notifier_warning_message', 'alter_deprecated_warning_message', 10, 2 );
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
