[wp-trac] [WordPress Trac] #58798: Fix possible PHP warning in /wp-includes/feed.php
WordPress Trac
noreply at wordpress.org
Tue Oct 15 22:22:57 UTC 2024
#58798: Fix possible PHP warning in /wp-includes/feed.php
--------------------------------------+------------------------------
Reporter: zahardoc | Owner: johnjamesjacoby
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Feeds | Version: 6.2.2
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"59241" 59241]:
{{{
#!CommitTicketReference repository="" revision="59241"
Feeds: Validate enclosures prior to generating tags.
Prevent possible PHP warnings caused by malformed enclosure meta data.
This change ensures the enclosure meta data has at least three lines of
text before generating the tag in `rss_enclosure()`.
Props arypneta, johnjamesjacoby, nihar007, rahmohn, rghedin, zahardoc.
Fixes #58798.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58798#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list