[wp-trac] [WordPress Trac] #31705: Tests_Feed_RSS2::test_items errors with Undefined index: content

WordPress Trac noreply at wordpress.org
Fri Mar 20 12:22:30 UTC 2015


#31705: Tests_Feed_RSS2::test_items errors with Undefined index: content
------------------------------+--------------------
 Reporter:  ianmjones         |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.2
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.2


Comment:

 Thanks for the report! In my tests, I'm not able to reproduce the PHP
 notice - the 'content' index is defined, but it's an empty string - but
 you are quite correct that the posts should have an author, otherwise the
 `assertEquals()` assertions don't mean much.

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


More information about the wp-trac mailing list