Permalink
Browse files

Remove $p argument from add_menu_page().

  • Loading branch information...
1 parent 3bb4b6b commit 42392c30d61fec0719d8a4df9d31a1d17c84863d Michael Sisk committed Sep 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 webcomic-includes/admin.php
@@ -401,7 +401,7 @@ public function hook_admin_menu() {
if ( !$this->option( 'uninstall' ) ) {
global $menu;
- add_menu_page( __( 'Webcomic', 'webcomic' ), __( 'Webcomic', 'webcomic' ), 'upload_files', 'webcomic_files', array( &$this, 'admin_files' ), $this->url . '/webcomic-includes/icon-small.png', $p );
+ add_menu_page( __( 'Webcomic', 'webcomic' ), __( 'Webcomic', 'webcomic' ), 'upload_files', 'webcomic_files', array( &$this, 'admin_files' ), $this->url . '/webcomic-includes/icon-small.png' );
$pages[ 'webcomics' ] = add_submenu_page( 'webcomic_files', __( 'Webcomic Files', 'webcomic' ), __( 'Webcomics', 'webcomic' ), 'upload_files', 'webcomic_files', array( &$this, 'admin_files' ) );
$pages[ 'storylines' ] = add_submenu_page( 'webcomic_files', __( 'Webcomic Storylines', 'webcomic' ), __( 'Storylines', 'webcomic' ), 'manage_categories', 'webcomic_storyline', array( &$this, 'admin_terms' ) );
$pages[ 'characters' ] = add_submenu_page( 'webcomic_files', __( 'Webcomic Characters', 'webcomic' ), __( 'Characters', 'webcomic' ), 'manage_categories', 'webcomic_character', array( &$this, 'admin_terms' ) );

0 comments on commit 42392c3

Please sign in to comment.