Make WordPress Core

Changeset 17436


Ignore:
Timestamp:
02/09/2011 05:36:23 PM (14 years ago)
Author:
ryan
Message:

Pink the whites.

Location:
branches/3.1
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/css/wp-admin.dev.css

    r17368 r17436  
    35763576------------------------------------------------------------------------------*/
    35773577
    3578 .theme-install-php .tablenav { 
    3579     height:auto; 
    3580 } 
     3578.theme-install-php .tablenav {
     3579    height:auto;
     3580}
    35813581
    35823582table#availablethemes {
     
    35883588}
    35893589
    3590 table#availablethemes .no-items td{ 
    3591     border-width:0; 
    3592     padding:5px; 
    3593 } 
     3590table#availablethemes .no-items td{
     3591    border-width:0;
     3592    padding:5px;
     3593}
    35943594
    35953595td.available-theme {
  • branches/3.1/wp-admin/edit-tags.php

    r17366 r17436  
    155155    if ( ! empty( $_REQUEST['paged'] ) )
    156156        $location = add_query_arg( 'paged', (int) $_REQUEST['paged'] );
    157    
     157
    158158    wp_redirect( $location );
    159159    exit;
  • branches/3.1/wp-admin/includes/class-wp-list-table.php

    r17369 r17436  
    199199        if ( ! empty( $_REQUEST['orderby'] ) )
    200200            echo '<input type="hidden" name="orderby" value="' . esc_attr( $_REQUEST['orderby'] ) . '" />';
    201         if ( ! empty( $_REQUEST['order'] ) ) 
     201        if ( ! empty( $_REQUEST['order'] ) )
    202202            echo '<input type="hidden" name="order" value="' . esc_attr( $_REQUEST['order'] ) . '" />';
    203203?>
     
    483483
    484484        $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    485        
     485
    486486        $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url );
    487487
  • branches/3.1/wp-admin/includes/class-wp-plugin-install-list-table.php

    r17322 r17436  
    153153            'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array()
    154154        );
    155        
     155
    156156        list( $columns, $hidden ) = $this->get_column_info();
    157157
  • branches/3.1/wp-admin/includes/class-wp-themes-list-table.php

    r17322 r17436  
    6767            return;
    6868        }
    69        
     69
    7070        if ( is_multisite() ) {
    7171            if ( current_user_can( 'install_themes' ) && current_user_can( 'manage_network_themes' ) ) {
     
    8989        printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) );
    9090    }
    91    
    92     function tablenav( $which = 'top' ) { 
     91
     92    function tablenav( $which = 'top' ) {
    9393        if ( $this->get_pagination_arg( 'total_pages' ) <= 1 )
    9494            return;
    95         ?> 
    96         <div class="tablenav <?php echo $which; ?>"> 
    97             <?php $this->pagination( $which ); ?> 
    98            <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" /> 
    99           <br class="clear" /> 
    100         </div> 
    101         <?php 
     95        ?>
     96        <div class="tablenav <?php echo $which; ?>">
     97            <?php $this->pagination( $which ); ?>
     98           <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
     99          <br class="clear" />
     100        </div>
     101        <?php
    102102    }
    103103
     
    105105        // wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
    106106?>
    107         <?php $this->tablenav( 'top' ); ?> 
     107        <?php $this->tablenav( 'top' ); ?>
    108108
    109109        <table id="availablethemes" cellspacing="0" cellpadding="0">
     
    113113        </table>
    114114
    115         <?php $this->tablenav( 'bottom' ); ?> 
     115        <?php $this->tablenav( 'bottom' ); ?>
    116116<?php
    117117    }
  • branches/3.1/wp-admin/js/edit-comments.dev.js

    r17354 r17436  
    219219        // var args = $.query.get(), total_pages = listTable.get_total_pages(), per_page = $('input[name=_per_page]', '#comments-form').val(), r;
    220220        var args = $.query.get(), total_pages = $('.total-pages').text(), per_page = $('input[name=_per_page]', '#comments-form').val(), r;
    221        
     221
    222222        if (! args.paged)
    223223            args.paged = 1;
    224        
     224
    225225        if (args.paged > total_pages) {
    226226            return;
  • branches/3.1/wp-admin/js/list-table.dev.js

    r17321 r17436  
    3030            var options = $('option', this),
    3131                anySelected = false;
    32            
     32
    3333            options.each( function(){
    3434                this.selected = this.defaultSelected;
    3535                anySelected = anySelected || this.defaultSelected;
    3636            });
    37            
     37
    3838            // If no options are selected within a single-select dropdown,
    3939            // select the first element by default.
  • branches/3.1/wp-includes/admin-bar.php

    r17329 r17436  
    146146    if ( empty( $short ) )
    147147        return;
    148    
     148
    149149    $html = '<input class="shortlink-input" type="text" readonly="readonly" value="' . esc_attr( $short ) . '" />';
    150    
     150
    151151    $wp_admin_bar->add_menu( array(
    152152        'id' => $id,
  • branches/3.1/wp-includes/class-pop3.php

    r17312 r17436  
    1313 * Licensed under the GNU GPL. For full terms see the file COPYING.
    1414 * @license http://opensource.org/licenses/gpl-license.php GNU General Public License
    15  * 
     15 *
    1616 * pop3 class
    1717 *
  • branches/3.1/wp-includes/class-wp-admin-bar.php

    r17279 r17436  
    116116        <?php
    117117        $is_parent =  ! empty( $menu_item['children'] );
    118        
     118
    119119        $menuclass = $is_parent ? 'menupop' : '';
    120120        if ( ! empty( $menu_item['meta']['class'] ) )
  • branches/3.1/wp-includes/functions.php

    r17428 r17436  
    30733073    foreach ( $list as $key => $obj ) {
    30743074        $matched = count( array_intersect_assoc( (array) $obj, $args ) );
    3075         if ( ( 'AND' == $operator && $matched == $count ) 
     3075        if ( ( 'AND' == $operator && $matched == $count )
    30763076          || ( 'OR' == $operator && $matched <= $count )
    30773077          || ( 'NOT' == $operator && 0 == $matched ) ) {
  • branches/3.1/wp-includes/js/admin-bar.dev.js

    r17279 r17436  
    5454        i = q.length;
    5555        while ( i-- ) {
    56             inA = false;   
     56            inA = false;
    5757            ancestorLength = ancestors.length;
    5858            while( ancestorLength-- ) {
    59                 if ( ancestors[ ancestorLength ] == q[i][1] ) 
    60                     inA = true; 
     59                if ( ancestors[ ancestorLength ] == q[i][1] )
     60                    inA = true;
    6161            }
    6262
  • branches/3.1/wp-includes/query.php

    r17358 r17436  
    17201720                'terms' => $q['category__not_in'],
    17211721                'operator' => 'NOT IN',
    1722                 'include_children' => false 
     1722                'include_children' => false
    17231723            );
    17241724        }
  • branches/3.1/wp-includes/user.php

    r17361 r17436  
    543543    function query() {
    544544        global $wpdb;
    545        
     545
    546546        if ( is_array( $this->query_vars['fields'] ) || 'all' == $this->query_vars['fields'] ) {
    547547            $this->results = $wpdb->get_results("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit");
     
    549549            $this->results = $wpdb->get_col("SELECT $this->query_fields $this->query_from $this->query_where $this->query_orderby $this->query_limit");
    550550        }
    551        
     551
    552552        if ( $this->query_vars['count_total'] )
    553553            $this->total_users = $wpdb->get_var("SELECT COUNT(*) $this->query_from $this->query_where");
Note: See TracChangeset for help on using the changeset viewer.