Opened 11 years ago
Closed 11 years ago
#27745 closed defect (bug) (fixed)
Incorrect return value PHPdoc for wp_create_nav_menu()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | good-first-bug has-patch 4.0-early commit |
Focuses: | docs | Cc: |
Description
wp_create_nav_menu()
claims it returns a menu object, but it really returns a menu ID
I think this has been in there for 4 years (r15104), so safe to just update the PHPdoc instead of changing the response value.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Change the return value in the phpdoc block