WordPress.org

Make WordPress Core

#41830 closed defect (bug) (fixed)

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

Reported by: truongwp Owned by: 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 17 months ago.

Download all attachments as: .zip

Change History (5)

@truongwp
17 months ago

#1 @truongwp
17 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
17 months ago

  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
17 months ago

In 41341:

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

Props truongwp.
See #41830.

#4 @SergeyBiryukov
17 months 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.