WordPress.org

Making WordPress.org

Changeset 6263


Ignore:
Timestamp:
12/13/2017 07:30:55 PM (7 months ago)
Author:
danielbachhuber
Message:

phpunit-test-reporter: Remove display time from results, as it's not very correct

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/parts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/parts/result-set.php

    r6262 r6263  
    4949                    ?>
    5050                <tr>
    51                     <td><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a>
    52                     <?php
    53                     $display_time = Display::get_display_time( $report->ID );
    54                     if ( $display_time ) :
    55                     ?>
    56                         <br /><small><?php echo esc_html( $display_time ); ?></small>
    57                     <?php endif; ?>
    58                     </td>
     51                    <td><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a></td>
    5952                    <td><?php echo esc_html( $host ); ?></td>
    6053                    <td><?php echo esc_html( Display::get_display_php_version( $report->ID ) ); ?></td>
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/parts/single-result.php

    r6262 r6263  
    2424<?php endif; ?>
    2525
    26 <p><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a>
    27 <?php
    28 $display_time = Display::get_display_time( $report->ID );
    29 if ( $display_time ) :
    30 ?>
    31     <br /><small><?php echo esc_html( $display_time ); ?></small>
    32 <?php endif; ?>
    33 </p>
     26<p><a href="<?php echo esc_url( get_permalink( $report->ID ) ); ?>" title="<?php echo esc_attr( $status_title ); ?>" class="<?php echo esc_attr( 'ptr-status-badge ptr-status-badge-' . strtolower( $status ) ); ?>"><?php echo esc_html( $status ); ?></a></p>
    3427
    3528<h2>Environment</h2>
Note: See TracChangeset for help on using the changeset viewer.