You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I discovered yet another issue caused by #532.
If a custom post type is registered on the init hook (like in the example below) the labels will not display in Stream or in the Context dropdown filter.
frankiejarrett
changed the title
Labels not seen for CPT registered on init
Labels not seen for CPT registered on init with default priority
Jun 10, 2014
Today I discovered yet another issue caused by #532.
If a custom post type is registered on the
init
hook (like in the example below) the labels will not display in Stream or in the Context dropdown filter.Registering on
init
with a priority of 8, or an earlier hook likeafter_setup_theme
, remedies the problem.However, since the Codex example recommends using
init
with the default priority of 10, I think we need to discover a work-around on our end.The text was updated successfully, but these errors were encountered: