Opened 8 years ago
Closed 8 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 |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Bundled Theme | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
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
@
8 years ago
- Keywords has-patch added; needs-patch removed
I have modified the documentation @param
#2
@
8 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 39732:
#3
@
8 years ago
- Keywords needs-patch added; has-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened
There is also twentyseventeen_content_width
, twentyseventeen_custom_colors_saturation
and twentyseventeen_social_links_icons
.
@
8 years ago
added the param for the twentyseventeen_content_width, twentyseventeen_custom_colors_saturation and twentyseventeen_social_links_icons
#4
@
8 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