[wp-trac] [WordPress Trac] #29204: SimplePie error with fetch_feed()

WordPress Trac noreply at wordpress.org
Mon Mar 9 05:36:32 UTC 2015


#29204: SimplePie error with fetch_feed()
--------------------------+------------------------------
 Reporter:  useStrict     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 Adding the `static` keyword might first seem right, but the upstream
 method isn't marked as a static, so doing so will cause `PHP Fatal error:
 Cannot make non static method SimplePie_Cache::create() static in class
 WP_Feed_Cache`.

 I guess the "best" way to fix this is to use the Registry system SP has.
 @rmccue is [attachment:29204.diff 29204.diff] the correct way there?

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


More information about the wp-trac mailing list