Opened 5 months ago
Closed 3 months ago
#48615 closed defect (bug) (reported-upstream)
parameter types for both parameters of set_image_handler use invalid phpdoc keywords
Reported by: | diddledan | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | trunk |
Component: | External Libraries | Keywords: | has-patch close |
Focuses: | docs | Cc: |
Description
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)
Change History (4)
#1
@
5 months 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.
#2
@
3 months ago
These changes are merged into upstream version 1.5.4 (git tag 1.5.4-fixed): https://github.com/simplepie/simplepie/releases/tag/1.5.4-fixed
Note: See
TracTickets for help on using
tickets.
Patch to set param types to string