Opened 10 years ago
Closed 10 years ago
#37939 closed defect (bug) (fixed)
Incorrect references to plugins API in themes_api() inline docs
| Reported by: | celloexpressions | Owned by: | hideokamoto |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
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
@
10 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
@
10 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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
You mean this line's document is incorrect?
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/theme.php#L335
thanks!