#10246 closed defect (bug) (fixed)
New Security check for plugins pages breaks backwards-compatible redirects
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.8.1 | Priority: | high |
| Severity: | major | Version: | 2.8 |
| Component: | Menus | Keywords: | has-patch user_can_access_admin_page |
| Focuses: | Cc: |
Description
[11595] and [11596] introduced checks to make sure that one can load only plugin pages that have been registered.
The problem is that it fails before the backwards-compatible redirect has a chance to do its thing. That backwards-compat redirect, in wp-admin/admin.php, makes sure that plugins pointing at edit.php?* get redirected to the 2.7+ tools.php pages.
Patch adds an entry in $_registered_pages for 'edit.php'-based hooknames for each 'tools.php'-based hookname.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [11628]) Fix back-compat plugins page redirects. Props filosofo. fixes #10246 for trunk