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:
Ryan Boren 2009-04-14 17:02:24 +00:00
parent 9d79c0cc46
commit 3ae543cf47

View File

@ -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 {
/**