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

WordPress Trac noreply at wordpress.org
Tue May 8 09:17:12 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:
---------------------------------+------------------------------

Comment (by ksbsb):

 == Thanks A LOT! It works for me.\\
 Replying to [comment:31 ComputerGuru]:
 > 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:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list