WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 23 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 2 years ago.

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
2 years ago

  • Keywords has-patch needs-unit-tests added

#2 @chriscct7
23 months ago

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