- Timestamp:
- 07/18/2014 06:07:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r29218 r29219 307 307 '&TB_iframe=true&width=600&height=550' ); 308 308 309 $action_links[] = '<a href="' . esc_ attr( $details_link ) . '" class="thickbox" aria-labelledby="' . $plugin['slug'] . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>';309 $action_links[] = '<a href="' . esc_url( $details_link ) . '" class="thickbox" aria-labelledby="' . $plugin['slug'] . '" data-title="' . esc_attr( $name ) . '">' . __( 'More Details' ) . '</a>'; 310 310 311 311 … … 323 323 <div class="plugin-card-top"> 324 324 <div class="name column-name"<?php echo $style['name']; ?>> 325 <h4><a href="<?php echo esc_ attr( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4>325 <h4><a href="<?php echo esc_url( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4> 326 326 <div class="action-links"> 327 327 <?php … … 333 333 </div> 334 334 <div class="desc column-description"<?php echo $style['description']; ?>> 335 <p><?php echo $description ?> 336 <span class="authors"> 337 <?php echo $author; ?> 338 </span> 339 </p> 335 <p><?php echo $description ?></p> 336 <p class="authors"><?php echo $author; ?></p> 340 337 </div> 341 338 </div> … … 345 342 <span class="num-ratings">(<?php echo number_format_i18n( $plugin['num_ratings'] ); ?>)</span> 346 343 </div> 347 <div class="column-updated"><?php echo __( '<strong>Last updated:</strong>' ) . ' '. sprintf( '%s ago', human_time_diff( strtotime($plugin['last_updated']) ) ); ?></div> 348 <div class="column-downloaded"><?php echo sprintf( __('%s downloads'), number_format_i18n( $plugin['downloaded'] ) ); ?></div> 344 <div class="column-updated"> 345 <strong><?php _e( 'Last Updated:' ); ?></strong> <span title="<?php echo esc_attr( $plugin['last_updated'] ); ?>"> 346 <?php printf( __( '%s ago' ), human_time_diff( strtotime( $plugin['last_updated'] ) ) ); ?> 347 </span> 348 </div> 349 <div class="column-downloaded"> 350 <?php echo sprintf( _n( '%s download', '%s downloads', $plugin['downloaded'] ), number_format_i18n( $plugin['downloaded'] ) ); ?> 351 </div> 349 352 <div class="column-compatibility"> 350 <?php353 <?php 351 354 if ( ! empty( $plugin['tested'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['tested'] ) ), $plugin['tested'], '>' ) ) { 352 355 echo __( '<strong>Untested</strong> with your install '); … … 356 359 echo __( '<strong>Compatible</strong> with your install '); 357 360 } 358 ?>361 ?> 359 362 </div> 360 363 </div>
Note: See TracChangeset
for help on using the changeset viewer.