[wp-trac] [WordPress Trac] #29204: SimplePie non-static WP_Feed_Cache::create error in fetch_feed() (was: SimplePie error with fetch_feed())

WordPress Trac noreply at wordpress.org
Sat Apr 28 01:40:29 UTC 2018


#29204: SimplePie non-static WP_Feed_Cache::create error in fetch_feed()
---------------------------------+------------------------------
 Reporter:  useStrict            |       Owner:  SergeyBiryukov
     Type:  defect (bug)         |      Status:  reviewing
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Feeds                |     Version:  3.8
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.7-early  |     Focuses:
---------------------------------+------------------------------
Changes (by ComputerGuru):

 * keywords:  has-patch 4.7-early needs-refresh => has-patch 4.7-early


Comment:

 I've uploaded a new patch for this that works against the WP at latest with
 the currently used version of SimplePie. The workaround was necessitated
 as SimplePie's own `SimplePie_Cache` class does not declare `create` as
 static, and so we can't just redeclare it as such in our derived
 `WP_Feed_Cache` class.

 https://core.trac.wordpress.org/attachment/ticket/29204/0001-29204-Fix-
 errors-about-non-static-WP_Feed_Cache-crea.2.patch

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


More information about the wp-trac mailing list