v0.2.2 - Critical Fix: Videos Menu
Critical Bug Fix
This is a critical update that fixes the Videos menu disappearing when ACF Pro is installed.
Fixed
- Videos menu not appearing: Fixed
nova_videopost type not registering when ACF Pro is active - Taxonomies not registering: Fixed video categories, tags, and types not being created
- Init hook timing issue: Changed
NVM_Post_TypeandNVM_Taxonomiesto call registration methods directly instead of hooking intoinit
Technical Details
The problem occurred because:
- The main plugin's
init()method runs at priority 15 (to ensure ACF loads first) - When it instantiated
NVM_Post_TypeandNVM_Taxonomies, those classes tried to add their owninithooks - Since the
inithook was already executing, those new hooks never fired - This prevented the post type and taxonomies from registering
The fix changes the constructors to call register_post_type() and register_taxonomies() directly instead of hooking into init.
Upgrade Instructions
If you installed v0.2.0 or v0.2.1 and don't see the Videos menu:
- Update to v0.2.2
- The Videos menu will appear immediately
- Go to Settings → Permalinks and click Save to flush rewrite rules