Revert "Update code to comply with WP Coding Standards (#38)"
This reverts commit 02c6c1c362
.
This commit is contained in:
parent
dac7ffe3a6
commit
9c88d218a8
30 changed files with 3893 additions and 4287 deletions
|
@ -12,7 +12,6 @@
|
|||
/*
|
||||
* Copyright 2021 Mark Cheret (email: mark@cheret.de)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Version number for stylesheet cache busting.
|
||||
*
|
||||
|
@ -42,34 +41,34 @@ define( 'C_STR_FOOTNOTES_VERSION', '2.5.7' );
|
|||
|
||||
/**
|
||||
* Plugin’s main PHP file.
|
||||
*
|
||||
*
|
||||
* @filesource
|
||||
* @package footnotes
|
||||
* @author Stefan Herndler
|
||||
* @since 0.0.1
|
||||
*/
|
||||
|
||||
// Get all common classes and functions.
|
||||
require_once dirname( __FILE__ ) . '/includes.php';
|
||||
// Get all common classes and functions
|
||||
require_once(dirname(__FILE__) . "/includes.php");
|
||||
|
||||
// Add Plugin Links to the "installed plugins" page.
|
||||
// add Plugin Links to the "installed plugins" page
|
||||
$l_str_plugin_file = 'footnotes/footnotes.php';
|
||||
add_filter( "plugin_action_links_{$l_str_plugin_file}", array( 'MCI_Footnotes_Hooks', 'plugin_links' ), 10, 2 );
|
||||
add_filter("plugin_action_links_{$l_str_plugin_file}", array("MCI_Footnotes_Hooks", "PluginLinks"), 10, 2);
|
||||
|
||||
// Initialize the Plugin.
|
||||
$g_obj_mci_footnotes = new MCI_Footnotes();
|
||||
// Run the Plugin.
|
||||
$g_obj_mci_footnotes->run();
|
||||
// initialize the Plugin
|
||||
$g_obj_MCI_Footnotes = new MCI_Footnotes();
|
||||
// run the Plugin
|
||||
$g_obj_MCI_Footnotes->run();
|
||||
|
||||
/**
|
||||
* Sets the stylesheet enqueuing mode for production.
|
||||
*
|
||||
*
|
||||
* @since 2.5.5
|
||||
* @var bool
|
||||
* @see class/init.php
|
||||
*
|
||||
*
|
||||
* In production, a minified CSS file tailored to the settings is enqueued.
|
||||
*
|
||||
*
|
||||
* Developing stylesheets is meant to be easier when this is set to false.
|
||||
* WARNING: This facility designed for development must NOT be used in production.
|
||||
*/
|
||||
*/
|
||||
define( 'C_BOOL_CSS_PRODUCTION_MODE', true );
|
||||
|
|
Reference in a new issue