[wp-trac] [WordPress Trac] #21990: SimplePie: DOMDocument can be disabled

WordPress Trac noreply at wordpress.org
Thu Nov 22 00:33:23 UTC 2012


#21990: SimplePie: DOMDocument can be disabled
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
     Type:  defect (bug)                         |  markjaquith
 Priority:  normal                               |      Status:  assigned
Component:  External Libraries                   |   Milestone:  3.5
 Severity:  blocker                              |     Version:  trunk
 Keywords:  has-patch needs-docs dev-feedback    |  Resolution:
  needs-testing needs-unit-tests                 |
-------------------------------------------------+-------------------------

Comment (by markjaquith):

 {{{21990-subclass.2.diff​}}} doesn't touch class-simplepie.php, and
 instead modifies {{{fetch_feed()}}}.

 Note that registering the sanitization class isn't enough, as
 {{{$feed->sanitize}}} has already been instantiated as the default SP
 sanitization class. So after registering, I explicitly instantiate the
 subclass over top of that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21990#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list