diff --git a/composer.json b/composer.json index b5d1eb1..62fac50 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "name": "ryanwelcher/advanced-query-loop", + "version": "3.0.0", "authors": [ { "name": "Ryan Welcher", diff --git a/index.php b/index.php index ac49d39..3dda5cc 100644 --- a/index.php +++ b/index.php @@ -3,8 +3,8 @@ * Plugin Name: Advanced Query Loop * Description: Query loop block variations to create custom queries. * Plugin URI: https://github.com/ryanwelcher/advanced-query-loop/ - * Version: 2.2.5 - * Requires at least: 6.1 + * Version: 3.0.0 + * Requires at least: 6.2 * Requires PHP: 7.4 * Author: Ryan Welcher * Author URI: https://www.ryanwelcher.com/ @@ -22,10 +22,10 @@ define( 'BUILD_DIR_PATH', plugin_dir_path( __FILE__ ) . 'build/' ); define( 'BUILD_DIR_URL', plugin_dir_url( __FILE__ ) . 'build/' ); -# Prevent direct access. -defined('ABSPATH') || exit; +// Prevent direct access. +defined( 'ABSPATH' ) || exit; -# Load the autoloader. -if (! class_exists( 'Query_Params_Generator' ) && is_file(__DIR__ . '/vendor/autoload.php')) { +// Load the autoloader. +if ( ! class_exists( 'Query_Params_Generator' ) && is_file( __DIR__ . '/vendor/autoload.php' ) ) { require_once __DIR__ . '/vendor/autoload.php'; } diff --git a/package.json b/package.json index f6a74e4..fa50503 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "advanced-query-loop", - "version": "2.2.5", + "version": "3.0.0", "description": "", "main": "index.js", "scripts": { diff --git a/readme.txt b/readme.txt index 012291a..62d9788 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: welcher Tags: Query Loop, Custom Queries Requires at least: 6.2 Tested up to: 6.5.2 -Stable tag: 2.2.5 -Requires PHP: 7.2 +Stable tag: 3.0.0 +Requires PHP: 7.4 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -63,6 +63,12 @@ Sort in ascending or descending order by: 3. Query posts before a date, after a date or between two dates. == Changelog == += 3.0.0 = +* Add Sorting by Included Posts IDs. +* Add sorting by Comment Count. +* Major restructure for processing the query params. +* Add release-drafter workflow. + = 2.2.5 = * Fixes issue with Exclude Current Post not being correctly set on templates.