diff --git a/src/footnotes.php b/src/footnotes.php index f208a09..64bee70 100755 --- a/src/footnotes.php +++ b/src/footnotes.php @@ -38,7 +38,7 @@ if ( ! defined( 'WPINC' ) ) { /** * 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'). @@ -47,7 +47,7 @@ define('C_STR_FOOTNOTES_VERSION', '2.8.0d'); * * @since 2.5.5 */ -define('PRODUCTION_ENV' , false); +define( 'PRODUCTION_ENV', false ); /** * The code that runs during plugin activation. @@ -92,6 +92,6 @@ function run_footnotes() { // Add the links to the dashboard plugins page. // 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(); diff --git a/src/includes/class-footnotes-deactivator.php b/src/includes/class-footnotes-deactivator.php index e9de651..953ce4b 100644 --- a/src/includes/class-footnotes-deactivator.php +++ b/src/includes/class-footnotes-deactivator.php @@ -1,11 +1,11 @@ plugin_directory . $template_name ) ) { $located = $this->plugin_directory . $template_name; } - + return $located; } diff --git a/src/index.php b/src/index.php deleted file mode 100755 index 8142269..0000000 --- a/src/index.php +++ /dev/null @@ -1 +0,0 @@ -