Opened 5 years ago
Closed 5 years ago
#53878 closed enhancement (fixed)
Return type not matched in PHPDoc - Bundled Themes
| Reported by: | ankitmaru | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.9 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: | docs, coding-standards |
Description
Return type not matched in PHPDoc - Bundled Themes
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)
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