[wp-trac] [WordPress Trac] #15094: Redundant function_exists() check in wp_nav_menu()
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 11 12:52:53 UTC 2010
#15094: Redundant function_exists() check in wp_nav_menu()
--------------------------+-------------------------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Menus | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
When the 'fallback_cb' arg is checked, it calls function_exists() right
before is_callable(), which not only is redundant, but also prevents
passing a class method as a callback.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15094>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list