Skip to content

Commit

Permalink
Have some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
msn60 committed Feb 25, 2020
1 parent 3c94510 commit 7578f39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/core/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Main implements Action_Hook_Interface {
*/
protected $theme_version;
/**
* @var Hook $hook_object Object to keep all of hooks in your theme
* @var Public_Hook $hook_object Object to keep all of hooks in your theme
*/
protected $hooks;
/**
Expand Down Expand Up @@ -118,15 +118,15 @@ public function __construct(

) {

if ( defined( THEME_NAME_VERSION ) ) {
if ( defined( 'THEME_NAME_VERSION' ) ) {
$this->theme_version = THEME_NAME_VERSION;
} else {
$this->theme_version = '1.0.1';
}
if ( defined( 'MSN_THEME_NAME' ) ) {
$this->theme_version = MSN_THEME_NAME;
$this->theme_name = MSN_THEME_NAME;
} else {
$this->theme_version = 'msn-oop-starter';
$this->theme_name = 'msn-oop-starter';
}

$this->hooks = $hooks;
Expand Down

0 comments on commit 7578f39

Please sign in to comment.