Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

Commit 5290dfa

Browse files
committed
Merge pull request #61 from kurtw/menu-position
Fix menu position to show hidden post types
2 parents 9fa120f + c9f13be commit 5290dfa

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.
55

66

7+
## 1.5.6 - 2015-05-06
8+
9+
### Changed
10+
- Fix menu position parameter for custom post types
11+
712
## 1.5.5 - 2015-04-21
813

914
### Changed

cms-toolkit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
available throughout the application and make building complex functionality
1414
in WordPress a little easier.
1515
16-
Version: 1.5.5
16+
Version: 1.5.6
1717
Author: Greg Boone, Aman Kaur, Matthew Duran, Scott Cranfill, Kurt Wall
1818
Author URI: https://github.com/cfpb/
1919
License: Public Domain work of the Federal Government

inc/post-types.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function build_post_type( $name, $plural, $slug, $prefix = '', $args = ar
5353
'exclude_from_search' => false,
5454
'show_ui' => true,
5555
'show_in_menu' => true,
56-
'menu_position' => 20.1,
56+
'menu_position' => 20,
5757
'capability_type' => 'post',
5858
'hierarchical' => false,
5959
'supports' => array( 'title', 'author', 'editor', 'revisions', 'page-attributes', 'custom-fields', ),

0 commit comments

Comments
 (0)