Skip to content

Commit

Permalink
_add_menu_page in admin class made static
Browse files Browse the repository at this point in the history
This method has been non-static for not reason which lead to reasonable warning. Simply declared static now, as there are no instance dependencies.
  • Loading branch information
stklcode committed Nov 12, 2017
1 parent 7962d4d commit f061b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-statifyblacklist-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static function update_options( $options = null ) {
*
* @since 1.0.0
*/
public function _add_menu_page() {
public static function _add_menu_page() {
$title = __( 'Statify Blacklist', 'statify-blacklist' );
if ( self::$multisite ) {
add_submenu_page(
Expand Down

0 comments on commit f061b4c

Please sign in to comment.