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

Fix menu position to show hidden post types #61

Merged
merged 2 commits into from
May 6, 2015

Conversation

kurtrwall
Copy link

The menu position parameter in register_post_type() requires an integer and the one that's currently in the code is a floating point number. This fixes that and hopefully will fix the issue of missing post types in the content Wordpress admin console.

@dpford @Scotchester

@Scotchester
Copy link
Contributor

To add a little bit more context:

Kurt says "hopefully" because, for some reason, this issue only shows up in the WP dashboard on our content server—it's not reproducible locally—so we have to try this change out and see if it works.

@Scotchester
Copy link
Contributor

@kurtw Please update the version number and CHANGELOG.

@kurtrwall
Copy link
Author

Ugh, I was doing that and then got distracted by lunch :) it's done

Scotchester added a commit that referenced this pull request May 6, 2015
Fix menu position to show hidden post types
@Scotchester Scotchester merged commit 5290dfa into cfpb:master May 6, 2015
@Scotchester
Copy link
Contributor

Please tag, release, and update deployment configs!

@kurtrwall kurtrwall deleted the menu-position branch May 7, 2015 12:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants