#43355 closed defect (bug) (fixed)
Improve inline docs for wp_dropdown_pages() - mention support for get_pages() arguments
| Reported by: | birgire | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
It's not clear from the documentation that wp_dropdown_pages() also supports get_pages() input arguments.
Here are two ways to fix that:
1) For comparison we have the following docblock line in wp_list_pages() src:
@see get_pages()
2) We also have this docblock line in wp_page_menu() src:
* Optional. Arguments to generate a page menu. See wp_list_pages() for additional arguments.
where we look at the wp_list_pages() reference for comparison.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
43355.diff adds a
get_pages()references in the docblock ofwp_dropdown_pages().