Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (17 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r10791 r10810  
    412412
    413413    $post_title = stripslashes( sanitize_post_field( 'post_title', $title, 0, 'db' ) );
    414     $post_content = stripslashes( sanitize_post_field( 'post_content', $content, 0, 'db' ) );   
     414    $post_content = stripslashes( sanitize_post_field( 'post_content', $content, 0, 'db' ) );
    415415    $post_date = stripslashes( sanitize_post_field( 'post_date', $date, 0, 'db' ) );
    416416
     
    432432        $args[] = $post_content;
    433433    }
    434    
     434
    435435    if ( !empty ( $args ) )
    436436        return $wpdb->get_var( $wpdb->prepare($query, $args) );
     
    925925    }
    926926
    927     $post->filter = 'sample'; 
     927    $post->filter = 'sample';
    928928
    929929    $permalink = get_permalink($post, true);
     
    964964    if ( 'publish' == $post->post_status )
    965965        $view_post = 'post' == $post->post_type ? __('View Post') : __('View Page');
    966    
     966
    967967    if ( false === strpos($permalink, '%postname%') && false === strpos($permalink, '%pagename%') ) {
    968968        $return = '<strong>' . __('Permalink:') . "</strong>\n" . '<span id="sample-permalink">' . $permalink . "</span>\n";
     
    11451145function wp_tiny_mce( $teeny = false ) {
    11461146    global $concatenate_scripts, $compress_scripts;
    1147    
     1147
    11481148    if ( ! user_can_richedit() )
    11491149        return;
Note: See TracChangeset for help on using the changeset viewer.