Opened 3 years ago
Closed 3 years ago
#53878 closed enhancement (fixed)
Return type not matched in PHPDoc - Bundled Themes
Reported by: | ankitmaru | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch dev-feedback |
Focuses: | docs, coding-standards | Cc: |
Description
Return type not matched in PHPDoc - Bundled Themes
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hi, Thanks for the ticket and patch!
Each bundle theme has different return value docs for the same filter so I think we have to set a unique document for in the filter.
Twenty Sixteen - https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentysixteen/functions.php#L565
Twenty Seventeen - https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyseventeen/functions.php#L579
Twenty Nineteen - https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentynineteen/inc/template-functions.php#L104
Twenty Twenty-One - https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwentyone/inc/template-functions.php#L440