[wp-trac] [WordPress Trac] #32065: Hide entire RSS widget when no items to display
WordPress Trac
noreply at wordpress.org
Wed Apr 22 16:53:40 UTC 2015
#32065: Hide entire RSS widget when no items to display
-------------------------+-----------------------------
Reporter: MadtownLems | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
When a default RSS widget has no items to display, the following text is
displayed: "An error has occurred, which probably means the feed is down.
Try again later."
I don't believe that this message is particularly useful to readers and
suggest that in the event that an RSS Widget is - for whatever reason -
unable to display any items, that the widget just doesn't appear at all,
rather than display an unhelpful and ugly message.
An alternative implementation is to conditionalize this output with
something like current_user_can( 'edit_theme_options' ). This would allow
users who can actually control Widgets to still see the output, but
standard readers wouldn't have to see it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32065>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list