mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
Adjusting comment typo and removing closing if statement (issue #1)
This commit is contained in:
parent
49ac1357eb
commit
e1b604d921
1 changed files with 69 additions and 71 deletions
|
@ -37,7 +37,7 @@ class TODO {
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
|
||||||
// Define constnats used throughout the plugin
|
// Define constants used throughout the plugin
|
||||||
$this->init_plugin_constants();
|
$this->init_plugin_constants();
|
||||||
|
|
||||||
load_plugin_textdomain(PLUGIN_LOCALE, false, dirname(plugin_basename(__FILE__)) . '/lang');
|
load_plugin_textdomain(PLUGIN_LOCALE, false, dirname(plugin_basename(__FILE__)) . '/lang');
|
||||||
|
@ -56,8 +56,6 @@ class TODO {
|
||||||
add_action('TODO', array($this, 'action_method_name'));
|
add_action('TODO', array($this, 'action_method_name'));
|
||||||
add_filter('TODO', array($this, 'filter_method_name'));
|
add_filter('TODO', array($this, 'filter_method_name'));
|
||||||
|
|
||||||
} // end if
|
|
||||||
|
|
||||||
} // end constructor
|
} // end constructor
|
||||||
|
|
||||||
/*--------------------------------------------*
|
/*--------------------------------------------*
|
||||||
|
|
Loading…
Reference in a new issue