Skip to content

Commit

Permalink
Version bump for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Jun 4, 2024
1 parent b102ad0 commit ea80da5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "ryanwelcher/advanced-query-loop",
"version": "3.0.0",
"authors": [
{
"name": "Ryan Welcher",
Expand Down
12 changes: 6 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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';
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "advanced-query-loop",
"version": "2.2.5",
"version": "3.0.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit ea80da5

Please sign in to comment.