eddiemachado/bones — pull request #343 by ohryan (2013-02-21 04:09:14+00:00)
Title: Execution Order Issue bones_ahoy()

When I installed WooCommerce I found my custom menus disabled.

Having a priority of 15 on line 20, and a priority of 10 (default) on line 41, causes bones_theme_support() to fire before bones_ahoy() and for whatever reason this seems to be the root of the bug.

I opted to directly call bones_theme_support() because having and 'after_setup_theme' callback inside an 'after_setup_theme' callback seems confusing to me. Either fix will work.