Make WordPress Core

Changeset 20715


Ignore:
Timestamp:
05/03/2012 04:41:59 PM (13 years ago)
Author:
ryan
Message:

Pinking shears

Location:
trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r20667 r20715  
    666666        <li class="hide-if-no-js"><a href="#categories-pop"><?php _e( 'Most Used' ); ?></a></li>
    667667    </ul>
    668    
     668
    669669    <div id="categories-all" class="tabs-panel">
    670670        <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
     
    677677        </ul>
    678678    </div>
    679    
     679
    680680    <div id="categories-pop" class="tabs-panel" style="display: none;">
    681681        <ul id="categorychecklist-pop" class="categorychecklist form-no-clear">
     
    683683        </ul>
    684684    </div>
    685    
     685
    686686    <div id="category-adder" class="wp-hidden-children">
    687687        <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4>
  • trunk/wp-admin/includes/post.php

    r20594 r20715  
    748748    $post = & get_post( $post_ID, ARRAY_A );
    749749    $content = $post['post_content'];
    750    
     750
    751751    // quick sanity check, don't run if no pretty permalinks or post is not published
    752752    if ( !get_option('permalink_structure') || $post['post_status'] != 'publish' )
  • trunk/wp-admin/includes/screen.php

    r20625 r20715  
    810810        if ( $this->get_option( 'layout_columns' ) ) {
    811811            $this->columns = (int) get_user_option("screen_layout_$this->id");
    812    
     812
    813813            if ( ! $this->columns && $this->get_option( 'layout_columns', 'default' ) )
    814814                $this->columns = $this->get_option( 'layout_columns', 'default' );
  • trunk/wp-admin/includes/update.php

    r20438 r20715  
    224224        return array();
    225225
    226     $update_themes = array();   
     226    $update_themes = array();
    227227    foreach ( $current->response as $stylesheet => $data ) {
    228228        $update_themes[ $stylesheet ] = wp_get_theme( $stylesheet );
  • trunk/wp-admin/index.php

    r20433 r20715  
    9292    '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    9393);
    94    
     94
    9595include (ABSPATH . 'wp-admin/admin-header.php');
    9696
  • trunk/wp-admin/install.php

    r20700 r20715  
    164164
    165165if ( ! is_string( $wpdb->base_prefix ) || '' === $wpdb->base_prefix ) {
    166     display_header();   
     166    display_header();
    167167    die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . __( 'Your <code>wp-config.php</code> file has an empty database table prefix, which is not supported.' ) . '</p></body></html>' );
    168168}
  • trunk/wp-includes/class-phpmailer.php

    r19849 r20715  
    16441644          set_magic_quotes_runtime(0);
    16451645        } else {
    1646           ini_set('magic_quotes_runtime', 0); 
     1646          ini_set('magic_quotes_runtime', 0);
    16471647        }
    16481648      }
     
    16531653          set_magic_quotes_runtime($magic_quotes);
    16541654        } else {
    1655           ini_set('magic_quotes_runtime', $magic_quotes); 
     1655          ini_set('magic_quotes_runtime', $magic_quotes);
    16561656        }
    16571657      }
  • trunk/wp-includes/class-simplepie.php

    r19891 r20715  
    27762776    function get_latitude()
    27772777    {
    2778        
     2778
    27792779        if ($return = $this->get_channel_tags(SIMPLEPIE_NAMESPACE_W3C_BASIC_GEO, 'lat'))
    27802780        {
  • trunk/wp-includes/class-wp-atom-server.php

    r20215 r20715  
    347347        $post_excerpt = '';
    348348        $pubtimes     = '';
    349        
     349
    350350        if ( isset( $entry->title ) && is_array( $entry->title ) && !empty( $entry->title[1] ) )
    351351            $post_title = (string) $entry->title[1];
     
    356356        if ( !empty( $entry->published ) )
    357357            $pubtimes = (string) $entry->published;
    358        
     358
    359359        $pubtimes = $this->get_publish_time( $pubtimes );
    360360
  • trunk/wp-includes/class-wp-theme.php

    r20668 r20715  
    373373     *
    374374     * Author, Author Name, Author URI, and Description did not previously return
    375      * translated data. We are doing so now as it is safe to do. However, as 
     375     * translated data. We are doing so now as it is safe to do. However, as
    376376     * Name and Title could have been used as the key for get_themes(), both remain
    377377     * untranslated for back compatibility. This means that ['Name'] is not ideal,
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r20714 r20715  
    32763276        if ( ! $post_data )
    32773277            return new IXR_Error( 404, __( 'Invalid post ID.' ) );
    3278            
     3278
    32793279        if ( !current_user_can( 'edit_post', $post_ID ) )
    32803280            return new IXR_Error( 401, __( 'Sorry, you cannot edit this post.' ) );
  • trunk/wp-includes/deprecated.php

    r20684 r20715  
    29972997function clean_pre($matches) {
    29982998    _deprecated_function( __FUNCTION__, '3.4' );
    2999    
     2999
    30003000    if ( is_array($matches) )
    30013001        $text = $matches[1] . $matches[2] . "</pre>";
  • trunk/wp-includes/functions.php

    r20640 r20715  
    36873687
    36883688    $ua = $_SERVER['HTTP_USER_AGENT'];
    3689    
     3689
    36903690    if ( strpos($ua, 'iPhone') !== false
    36913691        || strpos($ua, 'iPad') !== false
Note: See TracChangeset for help on using the changeset viewer.