[wp-trac] [WordPress Trac] #40178: Menus that contain post types in Draft status should be hidden from logged out users
WordPress Trac
noreply at wordpress.org
Sun Feb 1 11:48:43 UTC 2026
#40178: Menus that contain post types in Draft status should be hidden from logged
out users
-------------------------------------------------+-------------------------
Reporter: jdingman | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version: 4.7.3
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-refresh | Focuses: ui,
| administration
-------------------------------------------------+-------------------------
Changes (by ozgursar):
* keywords: has-patch 2nd-opinion needs-testing => has-patch 2nd-opinion
needs-refresh
Comment:
When I try to apply the patch
https://core.trac.wordpress.org/attachment/ticket/40178/40178.2.patch
against the `trunk` (7.0-alpha-61215-src), it fails to apply with `1 out
of 2 hunks failing`
Actual fail message is as follows:
{{{
patching file 'src/wp-admin/css/nav-menus.css'
patching file 'src/wp-admin/includes/class-walker-nav-menu-edit.php'
1 out of 1 hunks failed--saving rejects to 'src/wp-admin/includes/class-
walker-nav-menu-edit.php.rej'
patching file 'src/wp-admin/includes/nav-menu.php'
1 out of 2 hunks failed--saving rejects to 'src/wp-admin/includes/nav-
menu.php.rej'
patching file 'src/wp-includes/nav-menu.php'
1 out of 2 hunks failed--saving rejects to 'src/wp-includes/nav-
menu.php.rej'
}}}
As the patch can not be successfully applied to the `trunk` I removed the
`needs-testing` and added `needs-refresh`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40178#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list