Ticket #3390 (closed enhancement: duplicate)

Opened 5 years ago

Last modified 5 years ago

Better get_page_uri

Reported by: ryanscheuermann Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0.5
Severity: normal Keywords:
Cc:

Description

I posted this ticket for trunk, but I figured I'd duplicate it here as well.

This patch replaces get_page_uri with a version that only executes 1 general query instead of 1 for every single page in the tree. This is mainly an optimization for pages that display complete page heirarchies / navigation menus.

The trunk ticket is here: #3373

Attachments

get_page_uri.2.0.5 Download (1.4 KB) - added by ryanscheuermann 5 years ago.
better & faster get_page_uri

Change History

better & faster get_page_uri

  • Status changed from new to closed
  • Resolution set to duplicate

Marking as duplicate of 3373. Only one ticket for a problem regardless of the version or milestone.

Thank you for contributing to WordPress!

I am a layperson, but the nature of the problem and the fix looks great!

  • Milestone 2.0.6 deleted
Note: See TracTickets for help on using tickets.