Make WordPress Core

Changeset 24303


Ignore:
Timestamp:
05/20/2013 12:10:58 PM (12 years ago)
Author:
ryan
Message:

Pinking shears

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/ie-rtl.css

    r22799 r24303  
    235235}
    236236
    237 .screen-reader-text { 
     237.screen-reader-text {
    238238    right: auto;
    239     text-indent: -1000em; 
    240 } 
     239    text-indent: -1000em;
     240}
  • trunk/wp-admin/includes/misc.php

    r24273 r24303  
    612612                'text' => sprintf( __( '%s has taken over and is currently editing.' ), $user->display_name )
    613613            );
    614            
     614
    615615            if ( $avatar = get_avatar( $user->ID, 64 ) ) {
    616616                if ( preg_match( "|src='([^']+)'|", $avatar, $matches ) )
  • trunk/wp-admin/js/post.js

    r24273 r24303  
    327327    }
    328328
    329     $(document).on( 'heartbeat-send.wp-refresh-nonces', function( e, data ) { 
     329    $(document).on( 'heartbeat-send.wp-refresh-nonces', function( e, data ) {
    330330        var nonce, post_id;
    331331
  • trunk/wp-includes/class-http.php

    r23609 r24303  
    763763                    }
    764764                }
    765                
     765
    766766                if ( isset( $r['limit-response-size'] ) && ( $bytes_written + strlen( $block ) ) > $r['limit-response-size'] )
    767767                    $block = substr( $block, 0, ( $r['limit-response-size'] - $bytes_written ) );
    768768
    769                 $bytes_written += fwrite( $stream_handle, $block );             
    770                
     769                $bytes_written += fwrite( $stream_handle, $block );
     770
    771771                $keep_reading = !isset( $r['limit-response-size'] ) || $bytes_written < $r['limit-response-size'];
    772772            }
     
    18481848            if ( function_exists( 'gzuncompress' ) )
    18491849                $type[] = 'compress;q=0.5';
    1850    
     1850
    18511851            if ( function_exists( 'gzdecode' ) )
    18521852                $type[] = 'gzip;q=0.5';
  • trunk/wp-includes/taxonomy.php

    r24261 r24303  
    22172217    if ( ! $append ) {
    22182218        $delete_tt_ids = array_diff( $old_tt_ids, $tt_ids );
    2219        
     2219
    22202220        if ( $delete_tt_ids ) {
    22212221            $in_delete_tt_ids = "'" . implode( "', '", $delete_tt_ids ) . "'";
    22222222            $delete_term_ids = $wpdb->get_col( $wpdb->prepare( "SELECT tt.term_id FROM $wpdb->term_taxonomy AS tt WHERE tt.taxonomy = %s AND tt.term_taxonomy_id IN ($in_delete_tt_ids)", $taxonomy ) );
    22232223            $delete_term_ids = array_map( 'intval', $delete_term_ids );
    2224            
     2224
    22252225            $remove = wp_remove_object_terms( $object_id, $delete_term_ids, $taxonomy );
    22262226            if ( is_wp_error( $remove ) ) {
     
    22962296
    22972297    $tt_ids = array();
    2298    
     2298
    22992299    foreach ( (array) $terms as $term ) {
    23002300        if ( ! strlen( trim( $term ) ) ) {
    23012301            continue;
    23022302        }
    2303    
     2303
    23042304        if ( ! $term_info = term_exists( $term, $taxonomy ) ) {
    23052305            // Skip if a non-existent term ID is passed.
     
    23082308            }
    23092309        }
    2310    
     2310
    23112311        if ( is_wp_error( $term_info ) ) {
    23122312            return $term_info;
    23132313        }
    2314    
     2314
    23152315        $tt_ids[] = $term_info['term_taxonomy_id'];
    23162316    }
    2317    
     2317
    23182318    if ( $tt_ids ) {
    23192319        $in_tt_ids = "'" . implode( "', '", $tt_ids ) . "'";
     
    23222322        do_action( 'deleted_term_relationships', $object_id, $tt_ids );
    23232323        wp_update_term_count( $tt_ids, $taxonomy );
    2324        
     2324
    23252325        return (bool) $deleted;
    23262326    }
Note: See TracChangeset for help on using the changeset viewer.