Opened 10 years ago
Closed 10 years ago
#39488 closed defect (bug) (fixed)
Twenty Seventeen: Type and name in @param tags are the wrong way around
| Reported by: | ocean90 | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Bundled Theme | Version: | 4.7 |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
Description
Example:
<?php /** * Filter number of front page sections in Twenty Seventeen. * * @since Twenty Seventeen 1.0 * * @param $num_sections integer */ $num_sections = apply_filters( 'twentyseventeen_front_page_sections', 4 );
integer should be int and the whole tag should be @param int $num_sections <description>.
Attachments (5)
Change History (11)
#1
@
10 years ago
- Keywords has-patch added; needs-patch removed
I have modified the documentation @param
#3
@
10 years ago
- Keywords needs-patch added; has-patch removed
- Resolution fixed
- Status closed → reopened
There is also twentyseventeen_content_width, twentyseventeen_custom_colors_saturation and twentyseventeen_social_links_icons.
@
10 years ago
added the param for the twentyseventeen_content_width, twentyseventeen_custom_colors_saturation and twentyseventeen_social_links_icons
#4
@
10 years ago
- Keywords has-patch added; needs-patch removed
Added the patch for the twentyseventeen_content_width, twentyseventeen_custom_colors_saturation and twentyseventeen_social_links_icons
Note:
See TracTickets
for help on using tickets.
Added patch