Ticket #3390 (closed enhancement: duplicate)

Opened 2 years ago

Last modified 2 years ago

Better get_page_uri

Reported by: ryanscheuermann Assigned to: 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 (1.4 kB) - added by ryanscheuermann on 11/24/06 21:59:59.
better & faster get_page_uri

Change History

11/24/06 21:59:59 changed by ryanscheuermann

  • attachment get_page_uri.2.0.5 added.

better & faster get_page_uri

11/24/06 22:53:16 changed by foolswisdom

  • 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!

12/08/06 15:04:36 changed by markjaquith

  • milestone deleted.