Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#24414 closed enhancement (fixed)

get_the_post_format_image PHPDoc needs @return value

Reported by: csixty4's profile csixty4 Owned by: sergeybiryukov's profile 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)

#1 @SergeyBiryukov
12 years 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.

#2 @SergeyBiryukov
12 years 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.