Ticket #10629: template.patch
| File template.patch, 1.2 KB (added by , 17 years ago) |
|---|
-
/wordpress/wp-admin/includes/
old new 899 899 'name' => __('Name'), 900 900 'email' => __('E-mail'), 901 901 'role' => __('Role'), 902 'posts' => __('Posts') 902 'posts' => __('Posts'), 903 'comments' => __('Comments') 903 904 ); 904 905 break; 905 906 default : … … 1894 1895 if ( strlen( $short_url ) > 35 ) 1895 1896 $short_url = substr( $short_url, 0, 32 ).'...'; 1896 1897 $numposts = get_usernumposts( $user_object->ID ); 1898 $numcomments = get_usernumcomments( $user_object->ID ); 1897 1899 $checkbox = ''; 1898 1900 // Check if the user for this row is editable 1899 1901 if ( current_user_can( 'edit_user', $user_object->ID ) ) { … … 1965 1967 $r .= "<a href='edit.php?author=$user_object->ID' title='" . __( 'View posts by this author' ) . "' class='edit'>"; 1966 1968 $r .= $numposts; 1967 1969 $r .= '</a>'; 1968 } else { 1969 $r .= 0; 1970 } 1971 $r .= "</td>"; 1972 break; 1973 case 'comments': 1974 $attributes = 'class="num"' . $style; 1975 $r .= "<td $attributes>"; 1976 if ( $numcomments > 0 ) { 1977 $r .= $numcomments; 1970 1978 } 1971 1979 $r .= "</td>"; 1972 1980 break;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)