Skip to content

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 03 Aug 23:46
· 3 commits to main since this release
d2feb7f

Fixed

  • Knowledge Base articles could not be added to a navigation menu. On Appearance → Menus
    the "Knowledge Base" panel was missing, with no way to reach it short of knowing to tick it
    under Screen Options.

    Not a misconfiguration and not a WordPress 7.0 regression: the first time any user opens the
    Menus screen, core's wp_initial_nav_menu_meta_boxes() hides every panel except a hardcoded
    four — page, post, custom links, category — and writes the rest into that user's
    metaboxhidden_nav-menus. Every custom post type is hidden, docs included, despite
    show_in_nav_menus => true. The list has no filter, so a plugin cannot opt into it.

    It bites more than once because the value is stored per user, and get_user_option() is
    blog-prefixed — so on multisite each site in the network starts hidden again.

    The plugin now un-hides the panel once per user and records that it has done so, leaving
    the checkbox under the user's control from then on. Covered by tests/e2e/nav-menus.spec.ts,
    including that a deliberate re-hide is respected.