Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41830 closed defect (bug) (fixed)

Wrong return type in comment docs of {theme}_post_thumbnail_sizes_attr function

Reported by: truongwp's profile truongwp Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Bundled Theme Keywords: has-patch
Focuses: docs Cc:

Description

In the comment docs of twentysixteen_post_thumbnail_sizes_attr() and twentyseventeen_post_thumbnail_sizes_attr(), the return type should be array instead of string.

Attachments (1)

41830.diff (1.6 KB) - added by truongwp 7 years ago.

Download all attachments as: .zip

Change History (5)

@truongwp
7 years ago

#1 @truongwp
7 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 years ago

  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
7 years ago

In 41341:

Twenty Sixteen: Correct the @return value for twentysixteen_post_thumbnail_sizes_attr().

Props truongwp.
See #41830.

#4 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 41342:

Twenty Seventeen: Correct the @return value for twentyseventeen_post_thumbnail_sizes_attr().

Props truongwp.
Fixes #41830.

Note: See TracTickets for help on using tickets.