akmur/BoilerstrapWP — pull request #1 by roflzok (2013-06-24 10:12:18+00:00)
Title: Custom menu registration error: FIXED

Love the boilerplate theme but out of the box, it exhibits these errors:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'register_my_menus' not found or invalid function name in /Users/drew/Sites/mike/docroot/wp-includes/plugin.php on line 406

Warning: Cannot modify header information - headers already sent by (output started at /Users/drew/Sites/mike/docroot/wp-includes/plugin.php:406) in /Users/drew/Sites/mike/docroot/wp-includes/option.php on line 568

Warning: Cannot modify header information - headers already sent by (output started at /Users/drew/Sites/mike/docroot/wp-includes/plugin.php:406) in /Users/drew/Sites/mike/docroot/wp-includes/option.php on line 569

The custom menu wasn't being properly registered. I fixed that and added optional support for multiple menus as well.