Make WordPress Core

Changeset 5380


Ignore:
Timestamp:
05/03/2007 04:41:22 AM (17 years ago)
Author:
rob1n
Message:

Sort page templates by name. Props Arrrr. see #2926

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r5379 r5380  
    13561356function page_template_dropdown( $default = '' ) {
    13571357    $templates = get_page_templates();
     1358    ksort( $templates );
    13581359    foreach (array_keys( $templates ) as $template )
    13591360        : if ( $default == $templates[$template] )
Note: See TracChangeset for help on using the changeset viewer.