Make WordPress Core


Ignore:
Timestamp:
03/02/2008 08:17:30 PM (17 years ago)
Author:
ryan
Message:

Remove trailing whites.

File:
1 edited

Legend:

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

    r7109 r7130  
    14291429 * check_and_publish_future_post() - check to make sure post has correct status before
    14301430 * passing it on to be published. Invoked by cron 'publish_future_post' event
    1431  * This safeguard prevents cron from publishing drafts, etc. 
    1432  * 
     1431 * This safeguard prevents cron from publishing drafts, etc.
     1432 *
    14331433 * {@internal Missing Long Description}}
    14341434 *
     
    14421442 */
    14431443function check_and_publish_future_post($post_id) {
    1444    
     1444
    14451445    $post = get_post($post_id);
    14461446
     
    14511451        return;
    14521452
    1453     return wp_publish_post($post_id); 
     1453    return wp_publish_post($post_id);
    14541454}
    14551455
     
    29322932    if ( !empty($_post->ancestors) )
    29332933        return;
    2934  
     2934
    29352935    $_post->ancestors = array();
    29362936
Note: See TracChangeset for help on using the changeset viewer.