[wp-trac] [WordPress Trac] #39890: Fix return value type of wp_nav_menu

WordPress Trac noreply at wordpress.org
Thu Feb 16 16:04:05 UTC 2017


#39890: Fix return value type of wp_nav_menu
--------------------------+-----------------------------
 Reporter:  chesio        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

 Return value type for wp_nav_menu should be `string|false|void`, not
 `object|false|void`.

 Cheers,
 Česlav

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39890>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list