wp-includes class-feed.php

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) )
Technorati Tags: ,

One Comment

  1. Posted December 29, 2009 at 12:16 pm | Permalink

    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

  1. By the Mittineague Blog -> is_a Conclusion on August 3, 2009 at 4:31 pm

    [...] wp-includes/class-feed.php [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*