Make WordPress Core


Ignore:
Timestamp:
08/09/2008 05:36:14 AM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r8581 r8600  
    668668        } else {
    669669            wp_redirect('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
    670             exit();         
     670            exit();
    671671        }
    672672    }
     
    757757    $location = apply_filters('wp_redirect', $location, $status);
    758758    $status = apply_filters('wp_redirect_status', $status, $location);
    759    
     759
    760760    if ( !$location ) // allows the wp_redirect filter to cancel a redirect
    761761        return false;
     
    830830    // In php 5 parse_url may fail if the URL query part contains http://, bug #38143
    831831    $test = ( $cut = strpos($location, '?') ) ? substr( $location, 0, $cut ) : $location;
    832    
     832
    833833    $lp  = parse_url($test);
    834834    $wpp = parse_url(get_option('home'));
     
    975975    $notify_message .= sprintf( __('Spam it: %s'), admin_url("comment.php?action=cdc&dt=spam&c=$comment_id") ) . "\r\n";
    976976
    977     $notify_message .= sprintf( __ngettext('Currently %s comment is waiting for approval. Please visit the moderation panel:', 
     977    $notify_message .= sprintf( __ngettext('Currently %s comment is waiting for approval. Please visit the moderation panel:',
    978978        'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n";
    979979    $notify_message .= admin_url("edit-comments.php?comment_status=moderated") . "\r\n";
     
    15411541    $left_string  = preg_replace( array( '/\n+/', '/[ \t]+/' ), array( "\n", ' ' ), $left_string );
    15421542    $right_string = preg_replace( array( '/\n+/', '/[ \t]+/' ), array( "\n", ' ' ), $right_string );
    1543    
     1543
    15441544    $left_lines  = split("\n", $left_string);
    15451545    $right_lines = split("\n", $right_string);
Note: See TracChangeset for help on using the changeset viewer.