This repository was archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite after code sniff. PHP7.2 compatible
- Loading branch information
1 parent
79fb1fa
commit aca1be7
Showing
7 changed files
with
431 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<?php | ||
/* | ||
Plugin Name: Nagios Wordpress Updates Checker | ||
Description: Nagios Wordpress Updates Checker | ||
Author: Fred Bradley | ||
Version: 1.9.16 | ||
Author URI: http://fred.im/ | ||
Network: true | ||
*/ | ||
|
||
namespace FredBradley\WPUpdateChecker; | ||
|
||
require_once 'vendor/autoload.php'; | ||
|
||
$settings_api = new SettingsAPI(); | ||
|
||
$plugin_data = get_file_data(__FILE__, array('Version'), 'plugin'); | ||
|
||
|
||
new Plugin($plugin_data[0]); | ||
<?php | ||
/** | ||
Plugin Name: Nagios WordPress Updates Checker | ||
Description: Nagios WordPress Updates Checker | ||
Author: Fred Bradley | ||
Version: 1.9.16 | ||
Author URI: http://fred.im/ | ||
Network: true | ||
*/ | ||
|
||
namespace FredBradley\WPUpdateChecker; | ||
|
||
require_once 'vendor/autoload.php'; | ||
|
||
$settings_api = new SettingsAPI(); | ||
|
||
$plugin_data = get_file_data( __FILE__, array( 'Version' ), 'plugin' ); | ||
|
||
|
||
new Plugin( $plugin_data[0] ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.