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
@sboisvert
I believe this was mostly addressed by a0beb6d which added a priority of 99 to the init hook that calls Zoninator->init().
It doesn't look like that class variable is ever used
Correct, I don't see a need to keep it around unless we're interested in keeping backwards compatibility for anyone who has code relying on that class variable being there.
Because it does,
$this->post_types
becomes set without potentially additional post types that just happen to be registered after.It doesn't look like that class variable is ever used, so it would probably be better to remove it altogether.
Also, the taxonomy should be registered with post types on late init to ensure all post types have been registered.
The text was updated successfully, but these errors were encountered: