Make WordPress Core

Opened 8 years ago

Closed 5 years ago

#35309 closed enhancement (wontfix)

remove_menu_page and remove_submenu_page

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

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
8 years ago

  • Focuses accessibility removed

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

Replying to swissspidy:Please clarify more

#3 in reply to: ↑ 2 @swissspidy
8 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
7 years ago

  • Keywords close added

Inclined to close this because of BC concerns.

#5 @johnbillion
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.