WordPress.org

Make WordPress Core

Opened 23 months ago

Last modified 20 months ago

#35386 new enhancement

Refining Walker code

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

Description

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 23 months ago.

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
23 months ago

  • Keywords has-patch needs-unit-tests added

#2 @chriscct7
20 months ago

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