Skip to content

Commit

Permalink
Merge branch 'release/1.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hemberger committed Jul 27, 2022
2 parents 810bae7 + 909c41c commit 5b54276
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changes

## 1.5.1 (7/27/22)
* Added: Location support for Scripts metabox.

## 1.5.0 (7/25/22)
* Added: New `ul_get_location_roles` filter to allow other roles to be Locations.
* Changed: Updated the updater.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-content-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function register_post_types() {
'rewrite' => array( 'slug' => sanitize_title_with_dashes( User_Locations()->get_default_name('slug') ) ),
'show_ui' => true,
'show_in_nav_menus' => true,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'publicize', 'genesis-cpt-archives-settings' ),
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'publicize', 'genesis-cpt-archives-settings', 'genesis-scripts' ),
'capabilities' => array(
'publish_posts' => 'publish_location_pages',
'edit_post' => 'edit_location_page',
Expand Down
4 changes: 2 additions & 2 deletions user-locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* Version: 1.5.0
* Version: 1.5.1
*
* GitHub Plugin URI: https://github.com/bizbudding/user-locations
* GitHub Branch: master
Expand Down Expand Up @@ -172,7 +172,7 @@ public function __wakeup() {
private function setup_constants() {
// Plugin version.
if ( ! defined( 'USER_LOCATIONS_VERSION' ) ) {
define( 'USER_LOCATIONS_VERSION', '1.5.0' );
define( 'USER_LOCATIONS_VERSION', '1.5.1' );
}

// Plugin Folder Path.
Expand Down

0 comments on commit 5b54276

Please sign in to comment.