Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#35386 new enhancement

Refining Walker code

Reported by: Funkatronic Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch needs-unit-tests
Focuses: performance Cc:
PR Number:


This a simple patch for the Walker class. Previously, if root was not 0, a second for loop was performed in the walk function. This new code does the same functionality with less loops

Attachments (1)

walker_patch.patch (1.2 KB) - added by Funkatronic 4 years ago.

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
4 years ago

  • Keywords has-patch needs-unit-tests added

#2 @chriscct7
4 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.