Minor code styling.

* Added some equals-alignments and removed require_once paranthesis.
* Notice: _add_menu_page() has been renamed to add_menu_page()
This commit is contained in:
2017-11-11 21:21:05 +01:00
parent 637d5f482c
commit eb63299dfc
3 changed files with 11 additions and 13 deletions

View File

@ -67,12 +67,10 @@ function statify_blacklist_autoload( $class ) {
);
if ( in_array( $class, $plugin_classes, true ) ) {
require_once(
sprintf(
'%s/inc/class-%s.php',
STATIFYBLACKLIST_DIR,
strtolower( str_replace( '_', '-', $class ) )
)
require_once sprintf(
'%s/inc/class-%s.php',
STATIFYBLACKLIST_DIR,
strtolower( str_replace( '_', '-', $class ) )
);
}
}