Make WordPress Core


Ignore:
Timestamp:
12/09/2008 06:03:31 PM (16 years ago)
Author:
ryan
Message:

Strip trailing whitespace

File:
1 edited

Legend:

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

    r10112 r10150  
    10451045 * @package WordPress
    10461046 * @since 2.7
    1047  * 
     1047 *
    10481048 * @uses wp_write_post()
    10491049 * @uses edit_post()
     
    10511051 * @uses current_user_can()
    10521052 * @uses wp_create_post_autosave()
    1053  * 
     1053 *
    10541054 * @return str URL to redirect to show the preview
    10551055 */
     
    10591059    if ( $post_ID < 1 )
    10601060        wp_die( __('Preview not available. Please save as a draft first.') );
    1061    
     1061
    10621062    if ( isset($_POST['catslist']) )
    10631063        $_POST['post_category'] = explode(",", $_POST['catslist']);
    1064    
     1064
    10651065    if ( isset($_POST['tags_input']) )
    10661066        $_POST['tags_input'] = explode(",", $_POST['tags_input']);
    1067    
     1067
    10681068    if ( $_POST['post_type'] == 'page' || empty($_POST['post_category']) )
    10691069        unset($_POST['post_category']);
     
    11031103/**
    11041104 * Adds the TinyMCE editor used on the Write and Edit screens.
    1105  * 
     1105 *
    11061106 * Has option to output a trimmed down version used in Press This.
    11071107 *
Note: See TracChangeset for help on using the changeset viewer.