Opened 3 years ago
Closed 3 years ago
#12649 closed defect (bug) (duplicate)
Warning: strpos() expects... in rss.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | HTTP | Version: | 2.9.2 |
| Severity: | normal | Keywords: | warning php |
| Cc: |
Description
Some RSS are generating Warning because headers are treated as strings and Twitter for example is sometimes using int types.
Attachments (2)
Change History (6)
- Component changed from Warnings/Notices to HTTP
- Owner changed from westi to dd32
- Resolution set to duplicate
- Status changed from assigned to closed
This ticket is a duplicate of #12045, All Headers returned should be Strings, however, the WP_HTTP class may return an array for multiple headers present. This commit fixed the snoopy compat layer to return it in the style expected.
(In [13848]) Fix WP_HTTP -> Snoopy Compat layer for Magpie RSS. Fixes #12045
Note: See
TracTickets for help on using
tickets.

MagpieRSS is deprecated. Use Simplepie instead.