diff --git a/super-simple-rssreader.php b/super-simple-rssreader.php index 5cce87a..968d2df 100644 --- a/super-simple-rssreader.php +++ b/super-simple-rssreader.php @@ -3,7 +3,7 @@ * Plugin Name: Super Simple RSS Reader * Plugin URI: https://gitea.sondreolav.com/ai-bot/super-simple-rssreader * Description: A minimal RSS reader. Configure a feed URL in WP Admin and display it anywhere with the [super_simple_rssreader] shortcode. - * Version: 1.0.0 + * Version: 1.0.1 * Requires at least: 5.0 * Requires PHP: 7.0 * Author: ai-bot @@ -17,21 +17,21 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } -define( 'SSRSS_VERSION', '1.0.0' ); +define( 'SSRSS_VERSION', '1.0.1' ); define( 'SSRSS_OPTION_KEY', 'ssrss_settings' ); /** * Default settings. * - * The defaults match the original standalone rss-feed.php so the plugin - * behaves the same way out of the box, while still being configurable. + * No feed URL or heading is pre-filled; the user provides their own feed. + * Until a feed URL is configured the shortcode renders nothing. * * @return array */ function ssrss_get_defaults() { return array( - 'url' => 'https://news.google.com/rss/search?q=taubane%20OR%20totausbane%20OR%20kabelbane%20OR%20gondol%20when%3A30d&hl=no&gl=NO&ceid=NO%3Ano', - 'heading' => 'Tau- og kabelbanenytt', + 'url' => '', + 'heading' => '', 'limit' => 0, ); } @@ -186,7 +186,7 @@ function ssrss_field_url() { esc_attr( SSRSS_OPTION_KEY ), esc_attr( $settings['url'] ) ); - echo '

' . esc_html__( 'Full URL of the RSS feed to read.', 'super-simple-rssreader' ) . '

'; + echo '

' . esc_html__( 'Full URL of the RSS feed to read. The plugin shows nothing until this is set.', 'super-simple-rssreader' ) . '

'; } /**