Make WordPress Core


Ignore:
Timestamp:
08/09/2008 05:36:14 AM (16 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r8572 r8600  
    922922
    923923    array_splice($stickies, $offset, 1);
    924    
     924
    925925    update_option('sticky_posts', $stickies);
    926926}
     
    14461446                return new WP_Error('db_insert_error', __('Could not insert post into the database'), $wpdb->last_error);
    14471447            else
    1448                 return 0;   
     1448                return 0;
    14491449        }
    14501450        $post_ID = (int) $wpdb->insert_id;
     
    21492149    if ( ! empty( $meta_key ) || ! empty( $meta_value ) ) {
    21502150        $join = " LEFT JOIN $wpdb->postmeta ON ( $wpdb->posts.ID = $wpdb->postmeta.post_id )";
    2151        
    2152         // meta_key and met_value might be slashed 
     2151
     2152        // meta_key and met_value might be slashed
    21532153        $meta_key = stripslashes($meta_key);
    21542154        $meta_value = stripslashes($meta_value);
     
    23432343    if ( $file )
    23442344        update_attached_file( $post_ID, $file );
    2345        
     2345
    23462346    clean_post_cache($post_ID);
    23472347
     
    25352535    if ( !$url = wp_get_attachment_url( $post->ID ) )
    25362536        return false;
    2537        
     2537
    25382538    $sized = image_downsize( $post_id, 'thumbnail' );
    25392539    if ( $sized )
Note: See TracChangeset for help on using the changeset viewer.