4.2.7
Patch: Polls moved under the Core Forms admin menu
“Core Polls” no longer registers its own top-level menu item. Polls now live as two submenu entries (Polls + Add Poll) under the Core Forms menu, so the admin sidebar reads as one product instead of two side-by-side icons.
PollAdmin::add_admin_menu()switched fromadd_menu_pageto twoadd_submenu_pagecalls under thecore-formsparent.admin_menuhooked at priority 20 soAdmin::menu()(default priority 10) has already registered the parent slug before Polls tries to attach.- New
parent_filefilter keeps the Core Forms top-level item highlighted (and selects the right submenu sub-item — Polls list vs Add Poll) while editing, creating, or listing polls. Without it, the WP post-type screens would blank out the sidebar’s active state.
Full Changelog: