WordPress.org

Make WordPress Core

Changeset 12804


Ignore:
Timestamp:
01/22/10 22:34:54 (4 years ago)
Author:
ryan
Message:

Remove raquo. see #11644

File:
1 edited

Legend:

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

    r12782 r12804  
    133133    $wpdb->query( $wpdb->prepare("DELETE FROM $wpdb->usermeta WHERE user_id = %d", $id) ); 
    134134 
    135     clean_user_cache($id);   
     135    clean_user_cache($id); 
    136136 
    137137    // allow for commit transaction 
     
    386386// Display File upload quota on dashboard 
    387387function dashboard_quota() { 
    388     if ( get_site_option( 'upload_space_check_disabled' ) ) { 
     388    if ( get_site_option( 'upload_space_check_disabled' ) ) 
    389389        return true; 
    390     } 
     390 
    391391    $quota = get_space_allowed(); 
    392392    $used = get_dirsize( BLOGUPLOADDIR )/1024/1024; 
    393393 
    394     if ($used > $quota) $percentused = '100'; 
    395     else $percentused = ( $used / $quota ) * 100; 
     394    if ( $used > $quota ) 
     395        $percentused = '100'; 
     396    else 
     397        $percentused = ( $used / $quota ) * 100; 
    396398    $percentused = number_format($percentused); 
    397399    $used = round($used,2); 
    398400    $used_color = ($used < 70) ? (($used >= 40) ? 'waiting' : 'approved') : 'spam'; 
    399401    ?> 
    400     <p class="sub musub"><?php _e("Storage Space <a href='upload.php' title='Manage Uploads...'>&raquo;</a>"); ?></p> 
     402    <p class="sub musub"><?php _e('Storage Space'); ?></p> 
    401403    <div class="table"> 
    402404    <table> 
    403405        <tr class="first"> 
    404             <td class="first b b-posts"><?php printf( __( '<a href="upload.php" title="Manage Uploads..." class="musublink">%sMB</a>' ), $quota ); ?></td> 
     406            <td class="first b b-posts"><?php printf( __( '<a href="upload.php" title="Manage Uploads" class="musublink">%sMB</a>' ), $quota ); ?></td> 
    405407            <td class="t posts"><?php _e('Space Allowed'); ?></td> 
    406             <td class="b b-comments"><?php printf( __( '<a href="upload.php" title="Manage Uploads..." class="musublink">%1sMB (%2s%%)</a>' ), $used, $percentused ); ?> 
     408            <td class="b b-comments"><?php printf( __( '<a href="upload.php" title="Manage Uploads" class="musublink">%1sMB (%2s%%)</a>' ), $used, $percentused ); ?> 
    407409            <td class="last t comments <?php echo $used_color;?>"><?php _e('Space Used');?></td> 
    408410        </tr> 
     
    699701    if ( !is_null( $item ) ) { 
    700702        $title = $item->get_title(); 
    701         if ( md5( $title ) == get_user_option( 'admin_feed_dismiss', $current_user->id ) )  
     703        if ( md5( $title ) == get_user_option( 'admin_feed_dismiss', $current_user->id ) ) 
    702704            return; 
    703705        $msg = "<h3>" . esc_html( $title ) . "</h3>\n"; 
    704706        $content = $item->get_description(); 
    705         if ( is_null( $content ) )  
     707        if ( is_null( $content ) ) 
    706708            $content = __( 'something' ); 
    707709 
Note: See TracChangeset for help on using the changeset viewer.