Opened 6 years ago
Closed 6 years ago
#44398 closed defect (bug) (fixed)
`list_pages` filter docblock improvement
Reported by: | desrosj | Owned by: | ianbelanger |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | General | Keywords: | good-first-bug has-patch commit |
Focuses: | docs | Cc: |
Description
The $page
parameter of Walker_PageDropdown->start_el()
is a WP_Post
object. No modifications are performed in the function to the $page
variable.
When $page
is passed to the list_pages
filter at the end of the function, it is noted as an object
. This could be more specific and indicate $page
is a WP_Post
.
Attachments (1)
Change History (11)
#3
@
6 years ago
- Keywords commit added
- Owner set to ianbelanger
- Status changed from new to assigned
Assigning to mark good-first-bug
claimed.
Thanks, @ianbelanger. Patch looks good!
#8
@
6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport.
Note: See
TracTickets for help on using
tickets.
Updated doc block to note that $page is a WP_Post Object