Originally the Clean Options plugin was developed to allow for the removal of options left behind from deleted plugins. It was soon discovered that the wp_options table also contained (in some cases very many) rows of cached feeds left over by WordPress itself. One of the changes in WordPress version 2.8 is the use of SimplePie. The cached feeds are now prepended with "transient" and it appears that WordPress now removes old cached feed rows from the wp_options table. This, if true, is very good news, and if all plugin authors include clean up of options upon deletion of their plugins, the Clean Options plugin will become obsolete. Unfortunately, as shall be seen, the switch to SimplePie is not good news for the Error Reporting plugin.
class WP_Feed_Cache_Transient {
.....
function save($data) {
// if ( is_a($data, 'SimplePie') )
$class_name = 'SimplePie';
if ( ( get_class($data) == $class_name )
|| is_subclass_of($data, $class_name) )
![[PDA - Heathcare NOT Warfare - Sign the Petition.]](http://www.mittineague.com/blog/tmp/HealthNotWar_final.jpg)






One Comment
Ein sehr guter Beitrag, informativ und sehr gut formuliert … ich hoffe das auch in Zukunft solch gute Beitraege geschrieben werden, also weiter so machen!Gruss
One Trackback
[...] wp-includes/class-feed.php [...]