Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#48615 new defect (bug)

parameter types for both parameters of set_image_handler use invalid phpdoc keywords

Reported by: diddledan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: trunk
Component: External Libraries Keywords: has-patch close
Focuses: docs Cc:
PR Number:


In wp-includes/class-simplepie.php.php the param types of set_image_handler are both documented as str, which is not a valid keyword according to the phpdoc specification: https://docs.phpdoc.org/guides/types.html

The attached patch corrects str to be string.

Attachments (1)

48615.patch (1.0 KB) - added by diddledan 3 weeks ago.
Patch to set param types to string

Download all attachments as: .zip

Change History (2)

3 weeks ago

Patch to set param types to string

#1 @SergeyBiryukov
3 weeks ago

  • Component changed from Feeds to External Libraries
  • Keywords close added

Thanks for the ticket and the patch! Please note that SimplePie is an external library, any changes to its files should be submitted upstream: https://github.com/simplepie/simplepie.

Note: See TracTickets for help on using tickets.