Make WordPress Core


Ignore:
Timestamp:
12/14/2007 06:20:42 AM (17 years ago)
Author:
ryan
Message:

Faster page_rows() from hailin. see #5303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r6213 r6380  
    6969
    7070<?php
    71 wp("post_type=page&orderby=menu_order&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc");
     71$query_str = "post_type=page&orderby=menu_order title&what_to_show=posts$post_status_q&posts_per_page=-1&posts_per_archive_page=-1&order=asc";
     72$query_str = apply_filters('manage_pages_query', $query_str);
     73wp($query_str);
    7274
    7375$all = !( $h2_search || $post_status_q );
     
    8688  </thead>
    8789  <tbody id="the-list" class="list:page">
    88 <?php page_rows(0, 0, $posts, $all); ?>
     90  <?php page_rows($posts); ?> 
    8991  </tbody>
    9092</table>
Note: See TracChangeset for help on using the changeset viewer.