mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -35,6 +35,7 @@ http://snoopy.sourceforge.com
|
||||
|
||||
*************************************************/
|
||||
|
||||
if ( !in_array('Snoopy', get_declared_classes() ) ) :
|
||||
class Snoopy
|
||||
{
|
||||
/**** Public variables ****/
|
||||
@@ -895,5 +896,6 @@ class Snoopy
|
||||
return $postdata;
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user