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:
parent
8bda5ccc44
commit
bd0cef4071
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?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 {
|
class WP_Feed_Cache extends SimplePie_Cache {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue