missing wp101_icon_url error
-
Hi Shawn,
Found this little bug in your latest version, thought you might like a patch for it:
Index: htdocs/wp-content/plugins/wp101/wp101.php
===================================================================
— htdocs/wp-content/plugins/wp101/wp101.php (revision 824616)
+++ htdocs/wp-content/plugins/wp101/wp101.php (working copy)
@@ -45,7 +45,7 @@} public function admin_menu() { - $hook = add_menu_page( _x( 'WP101', 'page title', 'wp101' ), _x( 'Video Tutorials', 'menu title', 'wp101' ), 'read', 'wp101', array( $this, 'render_listing_page' ), $wp101_icon_url ); + $hook = add_menu_page( _x( 'WP101', 'page title', 'wp101' ), _x( 'Video Tutorials', 'menu title', 'wp101' ), 'read', 'wp101', array( $this, 'render_listing_page' ) ); add_action( "load-{$hook}", array( $this, 'load' ) ); }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘missing wp101_icon_url error’ is closed to new replies.