chore: lint

This commit is contained in:
Ben Goldsworthy 2021-04-26 23:04:20 +01:00
parent 4267f3fe6c
commit ebf098d45b
3 changed files with 4 additions and 32 deletions

View file

@ -96,7 +96,7 @@ class Footnotes_Public {
$this->version = $version;
$this->load_dependencies();
// Set conditions re-used for stylesheet enqueuing and in class/task.php.
self::$a_bool_amp_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_AMP_COMPATIBILITY_ENABLE ) );
self::$a_bool_tooltips_enabled = Footnotes_Convert::to_bool( Footnotes_Settings::instance()->get( Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_ENABLED ) );

View file

@ -403,11 +403,11 @@ class Footnotes_Task {
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-convert.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-settings.php';
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-footnotes-template.php';
// TODO: Move to `Footnotes_Loader`.
$this->register_hooks();
}
/**
* Register WordPress hooks to replace Footnotes in the content of a public page.
*