WordPress.org

Make WordPress Core

Changeset 11458


Ignore:
Timestamp:
05/25/09 21:47:11 (6 years ago)
Author:
westi
Message:

Allow a plugin to filter the list of Page statuses. Fies #9928 props coffee2code.

File:
1 edited

Legend:

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

    r11380 r11458  
    8383    ); 
    8484 
     85$post_stati = apply_filters('page_stati', $post_stati); 
     86 
    8587$query = array('post_type' => 'page', 'orderby' => 'menu_order title', 
    8688    'posts_per_page' => -1, 'posts_per_archive_page' => -1, 'order' => 'asc'); 
Note: See TracChangeset for help on using the changeset viewer.