[wp-trac] [WordPress Trac] #41905: Only loop over enclosure meta keys in rss_enclosure() and atom_enclosure()

WordPress Trac noreply at wordpress.org
Fri Nov 10 01:27:15 UTC 2017


#41905: Only loop over enclosure meta keys in rss_enclosure() and atom_enclosure()
--------------------------------------+------------------------------
 Reporter:  birgire                   |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Feeds                     |     Version:  2.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by nateinaction):

 Hi @birgire I hope you don't mind if I join in. I have cleaned up the
 tests a bit and modified them to use a data provider.

 {{{
 phpunit --group=feed
 OK (18 tests, 268 assertions)
 }}}

 [https://core.trac.wordpress.org/attachment/ticket/41905/41905.4.patch
 41905.4.patch]

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


More information about the wp-trac mailing list