[wp-trac] [WordPress Trac] #34128: Tests_Feed_RSS2::test_channel fails when WP_TESTS_TITLE contains an apostrophe

WordPress Trac noreply at wordpress.org
Tue May 3 19:58:17 UTC 2016


#34128: Tests_Feed_RSS2::test_channel fails when WP_TESTS_TITLE contains an
apostrophe
------------------------------------------+-----------------------------
 Reporter:  miqrogroove                   |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Feeds                         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by stevenkword):

 I did a little digging and believe the problem is in the `xml_to_array()`
 method of `/tests/phpunit/includes/utils.php`.  This function is taking
 the encoded HTML entities and translating them back into unencoded
 characters.

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


More information about the wp-trac mailing list