Make WordPress Core


Ignore:
Timestamp:
09/14/2009 02:03:32 PM (15 years ago)
Author:
ryan
Message:

Remove trailing whitespace

File:
1 edited

Legend:

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

    r11903 r11930  
    33093309        } else {
    33103310            // It's inside a continent group
    3311            
     3311
    33123312            // Continent optgroup
    33133313            if ( !isset( $zonen[$key - 1] ) || $zonen[$key - 1]['continent'] !== $zone['continent'] ) {
     
    33153315                $structure[] = '<optgroup label="'. esc_attr( $label ) .'">';
    33163316            }
    3317            
     3317
    33183318            // Add the city to the value
    33193319            $value[] = $zone['city'];
     
    33433343        }
    33443344        $structure[] = '<option ' . $selected . 'value="' . esc_attr( $value ) . '">' . esc_html( $display ) . "</option>";
    3345        
     3345
    33463346        // Close continent optgroup
    33473347        if ( !empty( $zone['city'] ) && ( !isset($zonen[$key + 1]) || (isset( $zonen[$key + 1] ) && $zonen[$key + 1]['continent'] !== $zone['continent']) ) ) {
     
    33653365/**
    33663366 * Permanently deletes posts, pages, attachments, and comments which have been in the trash for EMPTY_TRASH_DAYS.
    3367  * 
     3367 *
    33683368 * @since 2.9.0
    33693369 *
     
    33743374
    33753375    $delete_timestamp = time() - (60*60*24*EMPTY_TRASH_DAYS);
    3376    
     3376
    33773377    $posts_to_delete = $wpdb->get_results($wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = '_wp_trash_meta_time' AND meta_value < '%d'", $delete_timestamp), ARRAY_A);
    3378    
     3378
    33793379    foreach ( (array) $posts_to_delete as $post ) {
    33803380        wp_delete_post($post['post_id']);
     
    33823382
    33833383    //Trashed Comments
    3384     //TODO Come up with a better store for the comment trash meta. 
     3384    //TODO Come up with a better store for the comment trash meta.
    33853385    $trash_meta = get_option('wp_trash_meta');
    33863386    if ( !is_array($trash_meta) )
Note: See TracChangeset for help on using the changeset viewer.