Make WordPress Core


Ignore:
Timestamp:
05/24/2009 11:47:49 PM (17 years ago)
Author:
ryan
Message:

Trim tailing whitespace

File:
1 edited

Legend:

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

    r11410 r11450  
    11981198    }
    11991199
    1200     wp_clear_scheduled_hook('publish_future_post', $postid); 
    1201    
     1200    wp_clear_scheduled_hook('publish_future_post', $postid);
     1201
    12021202    do_action('deleted_post', $postid);
    12031203
     
    17351735 * @param string $post_type
    17361736 * @param integer $post_parent
    1737  * @return string unique slug for the post, based on $post_name (with a -1, -2, etc. suffix) 
     1737 * @return string unique slug for the post, based on $post_name (with a -1, -2, etc. suffix)
    17381738 */
    17391739function wp_unique_post_slug($slug, $post_ID, $post_status, $post_type, $post_parent) {
     
    17481748            $post_name_check = $wpdb->get_var($wpdb->prepare($check_sql, $slug, $post_type, $post_ID, $post_parent));
    17491749        }
    1750        
     1750
    17511751        if ( $post_name_check || in_array($slug, $wp_rewrite->feeds) ) {
    17521752            $suffix = 2;
Note: See TracChangeset for help on using the changeset viewer.