WordPress.org

Make WordPress Core

#24414 closed enhancement (fixed)

get_the_post_format_image PHPDoc needs @return value

Reported by: csixty4 Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: trivial Version: 3.6
Component: Inline Docs Keywords:
Focuses: Cc:

Description

In wp-includes/media.php, the return value of get_the_post_format_image() isn't documented.

Change History (2)

comment:1 SergeyBiryukov11 months ago

  • Component changed from Media to Inline Docs
  • Keywords needs-patch removed
  • Milestone changed from Awaiting Review to 3.6

Going to use a part of ticket:24348:24348.1.patch.

comment:2 SergeyBiryukov11 months ago

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

In 24352:

Add @return for get_the_post_format_image(). Make sure the function always returns a string. props tollmanz. fixes #24414. see #24348.

Note: See TracTickets for help on using tickets.