chore: lint
This commit is contained in:
parent
c18a66ae95
commit
0c7c0d155b
5 changed files with 15 additions and 14 deletions
|
@ -38,7 +38,7 @@ if ( ! defined( 'WPINC' ) ) {
|
||||||
/**
|
/**
|
||||||
* Current plugin version.
|
* Current plugin version.
|
||||||
*/
|
*/
|
||||||
define('C_STR_FOOTNOTES_VERSION', '2.8.0d');
|
define( 'C_STR_FOOTNOTES_VERSION', '2.8.0d' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the current environment ('development' or 'production').
|
* Defines the current environment ('development' or 'production').
|
||||||
|
@ -47,7 +47,7 @@ define('C_STR_FOOTNOTES_VERSION', '2.8.0d');
|
||||||
*
|
*
|
||||||
* @since 2.5.5
|
* @since 2.5.5
|
||||||
*/
|
*/
|
||||||
define('PRODUCTION_ENV' , false);
|
define( 'PRODUCTION_ENV', false );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The code that runs during plugin activation.
|
* The code that runs during plugin activation.
|
||||||
|
@ -92,6 +92,6 @@ function run_footnotes() {
|
||||||
|
|
||||||
// Add the links to the dashboard plugins page.
|
// Add the links to the dashboard plugins page.
|
||||||
// TODO: Move this somewhere more appropriate.
|
// TODO: Move this somewhere more appropriate.
|
||||||
add_filter( "plugin_action_links_footnotes/footnotes.php", array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 );
|
add_filter( 'plugin_action_links_footnotes/footnotes.php', array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 );
|
||||||
}
|
}
|
||||||
run_footnotes();
|
run_footnotes();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Fired during plugin deactivation
|
* Fired during plugin deactivation.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*
|
*
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
* @package footnotes
|
* @package footnotes
|
||||||
* @subpackage footnotes/includes
|
* @subpackage footnotes/includes
|
||||||
*/
|
*/
|
||||||
class Plugin_Name_Deactivator {
|
class Footnotes_Deactivator {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Runs when the Plugin is deactivated.
|
* Runs when the Plugin is deactivated.
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
<?php
|
<?php // phpcs:disable PEAR.Commenting.FileComment.Missing
|
||||||
/**
|
/**
|
||||||
* Footnotes class
|
* Plugin initialiser.
|
||||||
|
*
|
||||||
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @package footnotes
|
* @package footnotes
|
||||||
* @since 1.5.0
|
* @subpackage footnotes/includes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once dirname( __FILE__ ) . '/config.php';
|
require_once dirname( __FILE__ ) . '/config.php';
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<?php // Silence is golden
|
|
Reference in a new issue