Ticket #16210: 16210.3.diff
File 16210.3.diff, 2.6 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-plugin-install-list-table.php
151 151 'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(), 152 152 'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array() 153 153 ); 154 155 list( $columns, $hidden ) = $this->get_column_info(); 154 156 157 foreach ( $columns as $column_name => $column_display_name ) 158 $style[$column_name] = in_array( $column_name, $hidden ) ? 'style="display:none;"' : ''; 159 155 160 foreach ( (array) $this->items as $plugin ) { 156 161 if ( is_object( $plugin ) ) 157 162 $plugin = (array) $plugin; … … 205 210 $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); 206 211 ?> 207 212 <tr> 208 <td class="name "><strong><?php echo $title; ?></strong>213 <td class="name column-name" <?php echo $style['name']; ?>><strong><?php echo $title; ?></strong> 209 214 <div class="action-links"><?php if ( !empty( $action_links ) ) echo implode( ' | ', $action_links ); ?></div> 210 215 </td> 211 <td class="vers "><?php echo $version; ?></td>212 <td class="vers ">216 <td class="vers column-version" <?php echo $style['version']; ?>><?php echo $version; ?></td> 217 <td class="vers column-rating" <?php echo $style['rating']; ?>> 213 218 <div class="star-holder" title="<?php printf( _n( '(based on %s rating)', '(based on %s ratings)', $plugin['num_ratings'] ), number_format_i18n( $plugin['num_ratings'] ) ) ?>"> 214 219 <div class="star star-rating" style="width: <?php echo esc_attr( $plugin['rating'] ) ?>px"></div> 215 220 <div class="star star5"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '5 stars' ) ?>" /></div> … … 219 224 <div class="star star1"><img src="<?php echo admin_url( 'images/star.gif' ); ?>" alt="<?php _e( '1 star' ) ?>" /></div> 220 225 </div> 221 226 </td> 222 <td class="desc "><?php echo $description, $author; ?></td>227 <td class="desc column-description" <?php echo $style['description']; ?>><?php echo $description, $author; ?></td> 223 228 </tr> 224 229 <?php 225 230 } -
wp-admin/css/wp-admin.dev.css
4172 4172 table .vers, 4173 4173 table .column-visible, 4174 4174 table .column-rating { 4175 text-align: center;4175 text-align: left; 4176 4176 } 4177 4177 4178 4178 /* Scrollbar fix for bulk upgrade iframe */