chore: lint code

This commit is contained in:
Ben Goldsworthy 2021-04-27 08:42:21 +01:00
parent fb63c13125
commit 8044fb8591
5 changed files with 8 additions and 8 deletions

View file

@ -70,7 +70,7 @@ class Footnotes_Admin {
* The class responsible for WYSIWYG editor integration. * The class responsible for WYSIWYG editor integration.
*/ */
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-footnotes-wysiwyg.php';
/** /**
* The class responsible for constructing the plugin dashboard page(s). * The class responsible for constructing the plugin dashboard page(s).
*/ */

View file

@ -14,7 +14,7 @@
* @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report. * @since 2.5.5 Bugfix: Stylesheets: minify to shrink the carbon footprint, increase speed and implement best practice, thanks to @docteurfitness issue report.
*/ */
require_once plugin_dir_path( dirname( __FILE__ ) ). 'layout/class-footnotes-layout-init.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'layout/class-footnotes-layout-init.php';
/** /**
* Layout Engine for the administration dashboard. * Layout Engine for the administration dashboard.

View file

@ -38,7 +38,7 @@ class Footnotes_Layout_Init {
*/ */
public function __construct() { public function __construct() {
$this->load_dependencies(); $this->load_dependencies();
$this->settings_page = new Footnotes_Layout_Settings(); $this->settings_page = new Footnotes_Layout_Settings();
// Register hooks/actions. // Register hooks/actions.
@ -68,12 +68,12 @@ class Footnotes_Layout_Init {
* The class responsible for defining plugin constants. * The class responsible for defining plugin constants.
*/ */
require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-config.php'; require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-config.php';
/** /**
* The class responsible for tracking configurable plugin settings. * The class responsible for tracking configurable plugin settings.
*/ */
require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-settings.php'; require_once plugin_dir_path( dirname( __FILE__, 2 ) ) . 'includes/class-footnotes-settings.php';
/** /**
* The class responsible for defining the plugin settings page. * The class responsible for defining the plugin settings page.
*/ */

View file

@ -110,7 +110,7 @@ class Footnotes {
* of the plugin. * of the plugin.
*/ */
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php'; require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-i18n.php';
/** /**
* The various utility classes. * The various utility classes.
*/ */
@ -165,7 +165,7 @@ class Footnotes {
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
$this->loader->add_filter('plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links'); $this->loader->add_filter( 'plugin_action_links_footnotes/footnotes.php', $plugin_admin, 'footnotes_action_links' );
} }
/** /**

View file

@ -131,7 +131,7 @@ class Footnotes_Public {
/** /**
* Register the stylesheets for the public-facing side of the site. * Register the stylesheets for the public-facing side of the site.
* *
* Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV` * Enables enqueuing the formatted individual stylesheets if `PRODCUTION_ENV`
* is true (set in `footnotes.php`). * is true (set in `footnotes.php`).
* *
* @since 1.5.0 * @since 1.5.0