Check if SimplePie class is already defined.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-04-14 17:02:24 +00:00
parent 8bda5ccc44
commit bd0cef4071
1 changed files with 2 additions and 1 deletions

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