stream
stream copied to clipboard
Custom post types missing from context filters
trafficstars
Bug Report
Expected Behavior
I expect to be able to filter by a custom post type, and also to be able to exclude based on a custom post type. Events on these post types are being logged, but there is no option for them in the context dropdowns.
Actual Behavior
Describe what actually happens.
Steps to Reproduce the Problem
-
Register a post type with
register_post_type() -
Create a new post in that post type
-
Go to the Stream records page, from the "Show all contexts" dropdown attempt to find the post type under the "Posts" group
Screenshots
Just a sample of some of the post types being registered

None of them appearing in the context dropdown

System Information
- Stream plugin version: 3.9.1
- WordPress version: 6.0.1
- PHP version: 7.6
- Browser: Chrome
- Computer operating system: Windows 11
Also reported here: https://wordpress.org/support/topic/custom-post-types-not-showing-4/