Make WordPress Core


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

Strip trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r10100 r10150  
    112112        <label class="hidden" for="s">' . __('Search for:') . '</label>
    113113        <div><input type="text" value="' . attribute_escape(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" />
    114         <input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" /> 
     114        <input type="submit" id="searchsubmit" value="'.attribute_escape(__('Search')).'" />
    115115        </div>
    116116        </form>';
    … …  
    145145 * @uses wp_nonce_url() To protect against CSRF
    146146 * @uses site_url() To generate the log in URL
    147  * 
     147 *
    148148 * @param string $redirect Path to redirect to on logout.
    149149 */
    … …  
    151151        if ( strlen($redirect) )
    152152                $redirect = "&redirect_to=$redirect";
    153        
     153
    154154        return wp_nonce_url( site_url("wp-login.php?action=logout$redirect", 'login'), 'log-out' );
    155155}
    … …  
    162162 * @since 2.7
    163163 * @uses site_url() To generate the log in URL
    164  * 
     164 *
    165165 * @param string $redirect Path to redirect to on login.
    166166 */
    … …  
    168168        if ( strlen($redirect) )
    169169                $redirect = "?redirect_to=$redirect";
    170        
     170
    171171        return site_url("wp-login.php$redirect", 'login');
    172172}
    … …  
    177177 * Display a link which allows the user to navigate to the registration page if
    178178 * not logged in and registration is enabled or to the dashboard if logged in.
    179  * 
     179 *
    180180 * @since 1.5.0
    181181 * @uses apply_filters() Calls 'register' hook on register / admin link content.
    … …  
    449449
    450450        if ( is_404() ) {
    451                 $title = __('Page not found'); 
    452         }
    453        
     451                $title = __('Page not found');
     452        }
     453
    454454        $prefix = '';
    455455        if ( !empty($title) )
    … …  
    873873                echo $output;
    874874        else
    875                 return $output; 
     875                return $output;
    876876}
    877877
    … …  
    10941094/**
    10951095 * Purge the cached results of get_calendar.
    1096  * 
     1096 *
    10971097 * @see get_calendar
    10981098 * @since 2.1.0
    … …  
    14891489        $richedit =  user_can_richedit();
    14901490        $rows = "rows='$rows'";
    1491        
     1491
    14921492        if ( $richedit || $media_buttons ) { ?>
    14931493        <div id="editor-toolbar">
    … …  
    15641564/**
    15651565 * Display the contents of the search query variable.
    1566  * 
     1566 *
    15671567 * The search query string is passed through {@link attribute_escape()}
    15681568 * to ensure that it is safe for placing in an html attribute.
    … …  
    18231823
    18241824/**
    1825  * Enqueues the default ThickBox js and css. 
    1826  * 
     1825 * Enqueues the default ThickBox js and css.
     1826 *
    18271827 * If any of the settings need to be changed, this can be done with another js
    18281828 * file similar to media-upload.js and theme-preview.js. That file should
Note: See TracChangeset for help on using the changeset viewer.