Make WordPress Core

Opened 11 years ago

Closed 7 years ago

#35309 closed enhancement (wontfix)

remove_menu_page and remove_submenu_page

Reported by: omarhadidy Owned by:
Priority: normal Milestone:
Component: Administration Version: 4.4
Severity: normal Keywords: close
Cc: Focuses:

Description

When remove top level menu - remove_menu_page =>
1- page content for top level can access if i know url
2- page content for second level can access if i know url
When remove second level menu - remove_submenu_page =>
1- page content for second level appear white page message

  • You do not have sufficient permissions to access this page.

It is better when you delete top level menu => delete top menu page and sub-menus page Like sub-menu remove

Change History (5)

#1 follow-up: @swissspidy
11 years ago

  • Focuses accessibility removed

#2 in reply to: ↑ 1 ; follow-up: @omarhadidy
11 years ago

Replying to swissspidy:Please clarify more

#3 in reply to: ↑ 2 @swissspidy
11 years ago

Replying to omarhadidy:

Replying to swissspidy:Please clarify more

I just did some housekeeping as this ticket isn't accessibility-centric. Nothing to clarify :-)

As to your question, I'm not sure it's possible to do it in a backwards-compatible manner. Hidden admin pages have been possible for a long time and I'm sure some people depend on removed menu pages still being accessible.

#4 @swissspidy
10 years ago

  • Keywords close added

Inclined to close this because of BC concerns.

#5 @johnbillion
7 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed
Note: See TracTickets for help on using tickets.