Check if SimplePie class is already defined.
git-svn-id: https://develop.svn.wordpress.org/trunk@10929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9d79c0cc46
commit
3ae543cf47
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once (ABSPATH . WPINC . '/class-simplepie.php');
|
||||
if ( !class_exists('SimplePie') )
|
||||
require_once (ABSPATH . WPINC . '/class-simplepie.php');
|
||||
|
||||
class WP_Feed_Cache extends SimplePie_Cache {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user