Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#8774 closed defect (bug) (fixed)

Backwards compatability for add_management_page inadvertently strips other URL params

Reported by: simonwheatley Owned by: anonymous
Priority: normal Milestone: 2.7.1
Component: Administration Version:
Severity: normal Keywords: has-patch needs-testing
Cc:

Description

When WP2.7 redirects from edit.php to tools.php (add_management_page inserts links to edit.php?page=blah) the redirect code also strips any plugin specific GET params which might be present. This patch provides the redirect without stripping any additional unpredicted params.

Attachments (1)

query_string_integrity.diff (838 bytes) - added by simonwheatley 4 years ago.
Patch to restore entire query string when redirecting

Download all attachments as: .zip

Change History (4)

Patch to restore entire query string when redirecting

  • Keywords has-patch needs-testing added; has_patch needs_testing removed

comment:2   ryan4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10311]) Preserve query string when redirecting to tools. Props simonwheatley. fixes #8774 for trunk

comment:3   ryan4 years ago

(In [10312]) Preserve query string when redirecting to tools. Props simonwheatley. fixes #8774 for 2.7

Note: See TracTickets for help on using tickets.