From 74157aaf8abac706b55e17c17d3e7c41148552a1 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Mon, 27 Apr 2020 21:15:50 +0300 Subject: [PATCH 1/2] Release notes --- readme.txt.md | 6 ++++++ widget-context.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/readme.txt.md b/readme.txt.md index 0b5871c..405f9b3 100644 --- a/readme.txt.md +++ b/readme.txt.md @@ -65,6 +65,12 @@ Specify URLs to ignore even if they're matched by any of the other context rules ## Changelog +### 1.3.2 (April 27, 2020) + +- Bugfix: Fix the Widget Context settings link in the widget controls after moving the settings under the "Appearance" menu for usability (closer to the widget settings). +- Feature: Add a link to the plugin settings in the plugin admin list, too. + + ### 1.3.1 (April 24, 2020) - Bugfix: better support for URL rules with query parameters. diff --git a/widget-context.php b/widget-context.php index 0d0ee72..5be943a 100644 --- a/widget-context.php +++ b/widget-context.php @@ -3,7 +3,7 @@ * Plugin Name: Widget Context * Plugin URI: https://widgetcontext.com * Description: Show or hide widgets depending on the section of the site that is being viewed. Configure the widget visibility rules under the individual widget settings. - * Version: 1.3.1 + * Version: 1.3.2 * Author: Kaspars Dambis * Author URI: https://widgetcontext.com * Text Domain: widget-context From 92425573e4a4655fe6a980c14fa67fa83cb0dde2 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Mon, 27 Apr 2020 21:17:55 +0300 Subject: [PATCH 2/2] Link to configure widgets, too --- src/WidgetContext.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/WidgetContext.php b/src/WidgetContext.php index da78c65..376a4dc 100644 --- a/src/WidgetContext.php +++ b/src/WidgetContext.php @@ -229,6 +229,12 @@ public function plugin_action_links( $links ) { esc_html__( 'Settings', 'widget-context' ) ); + $links[] = sprintf( + '%s', + esc_url( $this->customize_widgets_admin_url() ), + esc_html__( 'Configure Widgets', 'widget-context' ) + ); + if ( $this->pro_nag_enabled() ) { $links[] = sprintf( 'PRO 🚀',