Skip to content

Commit 7dc2d6b

Browse files
author
Mike Hemberger
committed
consistent filter prefix
1 parent 39fcad1 commit 7dc2d6b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changes
22

3+
## 1.4.2 (2/20/20)
4+
* Changed: Filter prefix is now consistent with other filters. `userlocations_location_posts_query_args`.
5+
36
## 1.4.1 (2/20/20)
47
* Added: `ul_location_posts_query_args` filter to change the location blog query.
58

includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function ul_do_location_posts() {
185185
),
186186
),
187187
);
188-
$args = apply_filters( 'ul_location_posts_query_args', $args, $location_id );
188+
$args = apply_filters( 'userlocations_location_posts_query_args', $args, $location_id );
189189
genesis_custom_loop( wp_parse_args( $args ) );
190190
wp_reset_postdata();
191191
echo '</div>';

user-locations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* License: GPL-2.0+
1717
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1818
*
19-
* Version: 1.4.1
19+
* Version: 1.4.2
2020
*
2121
* GitHub Plugin URI: https://github.com/bizbudding/user-locations
2222
* GitHub Branch: master
@@ -175,7 +175,7 @@ private function setup_constants() {
175175

176176
// Plugin version.
177177
if ( ! defined( 'USER_LOCATIONS_VERSION' ) ) {
178-
define( 'USER_LOCATIONS_VERSION', '1.4.1' );
178+
define( 'USER_LOCATIONS_VERSION', '1.4.2' );
179179
}
180180

181181
// Plugin Folder Path.

0 commit comments

Comments
 (0)