WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8774 closed defect (bug) (fixed)

Backwards compatability for add_management_page inadvertently strips other URL params

Reported by: 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 5 years ago.
Patch to restore entire query string when redirecting

Download all attachments as: .zip

Change History (4)

simonwheatley5 years ago

Patch to restore entire query string when redirecting

comment:1 simonwheatley5 years ago

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

comment:2 ryan5 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 ryan5 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.