WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2007 09:41:04 AM (15 years ago)
Author:
ryan
Message:

attribute_escape()s and int casts. see #4333

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r5542 r5543  
    175175    $post->post_password = format_to_edit( $post->post_password );
    176176
     177    $post->menu_order = (int) $post->menu_order;
     178
    177179    if ( $post->post_type == 'page' )
    178180        $post->page_template = get_post_meta( $id, '_wp_page_template', true );
Note: See TracChangeset for help on using the changeset viewer.