[wp-trac] [WordPress Trac] #33591: Media File Missing Length Causes WordPress Atom Feed to Be Invalid

WordPress Trac noreply at wordpress.org
Fri Jul 10 22:21:39 UTC 2020


#33591: Media File Missing Length Causes WordPress Atom Feed to Be Invalid
-------------------------------------------------+-------------------------
 Reporter:  jonnybot                             |       Owner:
                                                 |  stevenkword
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Feeds                                |     Version:  4.2.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-   |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------
Changes (by whyisjake):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48429" 48429]:
 {{{
 #!CommitTicketReference repository="" revision="48429"
 Feeds: Ensure that enclosures produce valid XML.

 Metadata that is stored on newlines has the possibility of missing values,
 so rather then coercing values, we can check for them and then implicity
 set the values.

 Fixes #33591.
 Props jonnybot, stevenkword, vtieu, birgire, SergeyBiryukov,
 davidbaumwald, rebasaurus, whyisjake.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33591#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list