Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#39890 closed defect (bug) (fixed)

Fix return value type of wp_nav_menu

Reported by: chesio's profile chesio Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.8
Component: Menus Keywords:
Focuses: docs Cc:



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


Attachments (1)

39890.patch (815 bytes) - added by chesio 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @SergeyBiryukov
7 years ago

  • Component changed from Comments to Menus
  • Focuses docs added

#2 @SergeyBiryukov
7 years ago

  • Milestone changed from Awaiting Review to 4.8

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 40062:

Docs: Correct @return value type for wp_nav_menu().

Props chesio.
Fixes #39890.

Note: See TracTickets for help on using tickets.