mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Safely include class-json.php, class-simplepie.php and class-snoopy.php, props alexkingorg, fixes #11827
git-svn-id: https://develop.svn.wordpress.org/trunk@12705 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if ( !in_array('Snoopy', get_declared_classes() ) ) :
|
||||
if ( !class_exists( 'Snoopy' ) ) :
|
||||
/*************************************************
|
||||
|
||||
Snoopy - the PHP net client
|
||||
|
||||
Reference in New Issue
Block a user