From 8e1a44b8c24abc5ecbf6b25c03a19a6ab4e79c4d Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Tue, 20 Aug 2019 14:32:18 +0300 Subject: [PATCH] Version 1.2.0 (#51) --- readme.txt.md | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/readme.txt.md b/readme.txt.md index ce81740..39f705b 100644 --- a/readme.txt.md +++ b/readme.txt.md @@ -15,6 +15,12 @@ Show or hide widgets on specific posts, pages and sections of your site. Use [Widget Context](https://widgetcontext.com) to show or hide widgets on certain sections of your site -- front page, posts, pages, archives, search, etc. Use targeting by URLs (with wildcard support) for maximum flexibility. + +### Block Context + +**New**: We've started working on the [Block Context plugin](https://blockcontext.com) which brings similar functionality to Gutenberg blocks. + + ### Contribute - Suggest code improvements [on GitHub](https://github.com/kasparsd/widget-context-wporg). @@ -47,13 +53,19 @@ Use the wildcard symbol `*` for matching dynamic parts of the URL. For example: ## Installation - Search for **Widget Context** under "Plugins → Add New" in your WordPress dashboard. - - Widget Context settings will appear automatically under **each widget** under "Appearance → Widgets". +- Visit "Settings → Widget Context" to configure the available widget visibility contexts. ## Changelog +### 1.2.0 (August 20, 2019) + +- Set PHP 5.6 as the minimum supported version of PHP to match WordPress core. +- Developer tooling update: introduce PHP autoloading, PHP unit tests with proper mocking, linting for JS, switch to Docker inside a Vagrant wrapper for local development environment and update to the latest version of WordPress coding standards (see [#50](https://github.com/kasparsd/widget-context-wporg/pull/50)). + ### 1.1.1 (June 9, 2019) + - Mark as tested with WordPress 5.2. - Add test coverage reporting and remove [Debug Bar](https://wordpress.org/plugins/debug-bar/) integration since it wasn't complete. Refactor plugin structure to support dependency integration. See [#47](https://github.com/kasparsd/widget-context-wporg/pull/47). - Added local development environment, see [#48](https://github.com/kasparsd/widget-context-wporg/pull/48). @@ -158,40 +170,9 @@ Use the wildcard symbol `*` for matching dynamic parts of the URL. For example: ## Upgrade Notice -### 1.0.2 -Load available custom post types and taxonomies right before visibility checks to avoid PHP warnings. Run visibility checks only after the main post query has run. Fixes issues with WooCommerce. - -### 1.0.1 - -Fix PHP warning in custom post type and taxonomy module. - -### 1.0 - -New modular architecture and settings page. Please make sure you test this version before deploying to a production website. - -### 0.8.1 - -(1) Revert to a legacy method for attaching widget control settings in order to make it work with old plugins. (2) Fix the word count context logic. - -### 0.8 - -Major code rewrite and refactoring to improve plugin performance and usability. - -### 0.7.2 - -Fix PHP warnings/notices. - -### 0.7.1 - -Confirm that plugin works with the latest version of WordPress. - -### 0.7 - -Bug fix: check for active sidebars only after $paged has been set. - -### 0.6 +### 1.2.0 -Performance improvements - don't check if sidebar has any widgets on every widget load. +PHP 5.6 is now the minimum supported version of PHP. Also included is developer tooling update and improved PHP unit tests. ## Screenshots