WordPress.org

Plugin Directory

rs-discuss

Opened 9 years ago

Last modified 9 years ago

#965 new defect

Easy way to break the RSS widget

Reported by: energymover Owned by: sargant
Priority: normal Severity: normal
Plugin: rs-discuss Keywords: RSS feeds
Cc:

Description

Just make a post where the title starts with a . character; e.g., .htaccess

It took awhile to figure out why all of my new posts after the one titled .htaccess were not showing up in the RSS sidebar list.

I've only tested this on the stock wordpress RSS widget that comes with wordpress, and KB Advanced RSS Widget.

Thanks,
Paul

Change History (2)

comment:1 @energymover9 years ago

  • Component changed from 1-bit-audio-player to rs-discuss
  • Owner changed from markwheeler to sargant

comment:2 @energymover9 years ago

Hi,

I found the issue. It's due to MAGPIE_CACHE_AGE! This appears to be a core design in the rss widget and is found at -->

wp-includes/rss.php

if ( !defined('MAGPIE_CACHE_AGE') ) {

define('MAGPIE_CACHE_AGE', 60*60); one hour

}

I'm certain there was a good reason for adding this, but obviously there must be an improvement. There are threads on people wondering why there posts don't show up in the rss sidebar widget until ~ one hour after it's made. Ugg, how frustrating that can be for someone who has no idea about this.

I think the cache should be clear when a post is made, or at least update the RSS widget.

Thanks,
Paul

Note: See TracTickets for help on using tickets.