WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#20863 closed defect (bug) (fixed)

Remove $wp_query var from Walker_Nav_Menu->start_el

Reported by: ampt Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: trivial Version: 3.0
Component: Menus Keywords: has-patch commit 3.5-early
Focuses: Cc:
PR Number:

Description

$wp_query is brought into the local scope, but does not appear to be used within the start_el function.

Attachments (1)

20863.diff (458 bytes) - added by ampt 7 years ago.

Download all attachments as: .zip

Change History (4)

@ampt
7 years ago

#1 @ocean90
7 years ago

  • Keywords commit 3.5-early added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 3.4 to 3.0

Unused since [14876].

#2 @nacin
7 years ago

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

In [21252]:

Remove unused global reference. props ampt. fixes #20863.

#3 @nacin
7 years ago

  • Milestone changed from Future Release to 3.5
Note: See TracTickets for help on using tickets.