Automatically fix 227 errors
This commit is contained in:
parent
d13245a98e
commit
09337696e2
9 changed files with 292 additions and 298 deletions
|
@ -26,7 +26,7 @@ class MCI_Footnotes_Config {
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const C_STR_PLUGIN_NAME = "footnotes";
|
const C_STR_PLUGIN_NAME = 'footnotes';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public Plugin name.
|
* Public Plugin name.
|
||||||
|
|
|
@ -46,7 +46,6 @@ class MCI_Footnotes {
|
||||||
* @since 2.4.0
|
* @since 2.4.0
|
||||||
* @date 2021-01-04T1355+0100
|
* @date 2021-01-04T1355+0100
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
||||||
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
||||||
* @link https://github.com/misfist/footnotes/compare/2.4.0%E2%80%A62.4.0d3 diff
|
* @link https://github.com/misfist/footnotes/compare/2.4.0%E2%80%A62.4.0d3 diff
|
||||||
|
|
|
@ -167,7 +167,6 @@ class MCI_Footnotes_Task {
|
||||||
* @since 2.4.0
|
* @since 2.4.0
|
||||||
* @date 2021-01-04T1355+0100
|
* @date 2021-01-04T1355+0100
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
||||||
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
||||||
* @link https://github.com/misfist/footnotes/compare/2.4.0%E2%80%A62.4.0d3 diff
|
* @link https://github.com/misfist/footnotes/compare/2.4.0%E2%80%A62.4.0d3 diff
|
||||||
|
|
|
@ -101,7 +101,6 @@ class MCI_Footnotes_Template {
|
||||||
* Define plugin root path
|
* Define plugin root path
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
$this->plugin_directory = plugin_dir_path( dirname( __FILE__ ) );
|
$this->plugin_directory = plugin_dir_path( dirname( __FILE__ ) );
|
||||||
|
|
||||||
|
@ -109,7 +108,6 @@ class MCI_Footnotes_Template {
|
||||||
* Modularize functions
|
* Modularize functions
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
if ( $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ) ) {
|
if ( $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ) ) {
|
||||||
$this->process_template( $template );
|
$this->process_template( $template );
|
||||||
|
@ -165,7 +163,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Process template file
|
* Process template file
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
* @param string $template
|
* @param string $template
|
||||||
|
@ -191,7 +188,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Get the template
|
* Get the template
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
* @param string $p_str_file_type
|
* @param string $p_str_file_type
|
||||||
|
|
|
@ -49,7 +49,7 @@ define( 'C_STR_FOOTNOTES_VERSION', '2.5.6d4' );
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Get all common classes and functions
|
// Get all common classes and functions
|
||||||
require_once( dirname( __FILE__ ) . '/includes.php' );
|
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';
|
$l_str_plugin_file = 'footnotes/footnotes.php';
|
||||||
|
|
|
@ -28,7 +28,7 @@ function mci_footnotes_require_php_files( $p_str_directory ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/** @noinspection PhpIncludeInspection */
|
/** @noinspection PhpIncludeInspection */
|
||||||
require_once( $p_str_directory . $l_str_file_name );
|
require_once $p_str_directory . $l_str_file_name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue