Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#8873 closed defect (bug) (invalid)

Dead query code

Reported by: filosofo Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: p page_id query_vars dead-code has-patch
Focuses: Cc:


Currently $q['p'] is set to $q['page_id'], but $q is not a global variable, not returned, not passed to a filter, and $q['p'] is not referred to again in that method, so the code does nothing.

Patch removes it.

Attachments (1)

dead_p_query_var_code.diff (439 bytes) - added by filosofo 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ryan
13 years ago

Isn't it a reference to query_vars?

#2 @filosofo
13 years ago

  • Milestone 2.8 deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.8 deleted

Oh, duh. Sorry.

Note: See TracTickets for help on using tickets.