Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1362 closed defect (bug) (fixed)

remove_query_arg() neglects to return the modified query

Reported by: MC_incubus Owned by: matt
Priority: normal Milestone:
Component: General Version: 1.5.1
Severity: minor Keywords:
Cc: Focuses:

Description

remove_query_arg($arg, $uri) does add_query_arg($arg, , $uri) but neglects to return it!

As such, remove_query_arg() is useless.

Attachments (1)

functions.php.diff (346 bytes ) - added by MC_incubus 21 years ago.

Download all attachments as: .zip

Change History (8)

#1 @MC_incubus
21 years ago

  • PatchNo

#2 @MC_incubus
21 years ago

  • Patch NoYes

#3 @MC_incubus
21 years ago

  • Owner changed from anonymous to matt
  • Status newassigned

#4 @markjaquith
21 years ago

line 85 in options.php uses this function (which does not work at all), so we should get this fixed.

#5 @ryan
21 years ago

  • Milestone1.6

#6 @ryan
21 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [2657]) Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362

#7 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.