Automattic / Automattic/jetpack
jetpack_development_mode filter breaks Custom Content Post Types
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Custom content post types (testimonials & portfolios) show up normally when JETPACK DEV DEBUG constant is used, however when the jetpack_development_mode filter is added through a plugin, the custom content types do not show up as they should.
---
Steps:
* Install & activate Jetpack
* Install & activate plugin containing the jetpack_development_mode filter
* Active custom content types setting in Jetpack
* Enable the testimonials & portfolios custom content types in Jetpack
---
Expected: Portfolios & Testimonials post types show up in the left-hand menu in the admin.
Actual: No menu item is added, when you go to the specific post type edit page, you get an Invalid Post Type error.
Contributor guide
Assessment
This issue has not been assessed yet.