Opened 8 years ago
Closed 8 years ago
#37939 closed defect (bug) (fixed)
Incorrect references to plugins API in themes_api() inline docs
Reported by: | celloexpressions | Owned by: | hideokamoto |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
Description
The inline documentation for themes_api()
(in wp-admin/includes/theme.php
) contains a couple of references to plugins in the $args
parameter description that should reference themes. There is a correct reference to plugins filtering the API further up in the documentation.
Attachments (1)
Change History (7)
#3
in reply to:
↑ 2
;
follow-up:
↓ 4
@
8 years ago
Replying to hideokamoto:
You mean this line's document is incorrect?
Nope, it's about these two lines: tags/4.6.1/src/wp-admin/includes/theme.php?marks=363,365#L362
#4
in reply to:
↑ 3
@
8 years ago
Replying to SergeyBiryukov:
Nope, it's about these two lines: tags/4.6.1/src/wp-admin/includes/theme.php?marks=363,365#L362
Thanks for your kindness!
I made a patch file :)
https://core.trac.wordpress.org/attachment/ticket/37939/37939.patch
Note: See
TracTickets for help on using
tickets.
You mean this line's document is incorrect?
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/theme.php#L335
thanks!