Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8774 closed defect (bug) (fixed)

Backwards compatability for add_management_page inadvertently strips other URL params

Reported by: simonwheatley's profile simonwheatley Owned by:
Milestone: 2.7.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch needs-testing
Focuses: 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 16 years ago.
Patch to restore entire query string when redirecting

Download all attachments as: .zip

Change History (4)

@simonwheatley
16 years ago

Patch to restore entire query string when redirecting

#1 @simonwheatley
16 years ago

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

#2 @ryan
16 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

#3 @ryan
16 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.