Making WordPress.org


Ignore:
Timestamp:
08/26/2020 01:07:09 AM (6 years ago)
Author:
tellyworth
Message:

Plugin dir: only show test results when available.

See #5303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php

    r10189 r10203  
    303303
    304304                                $e2e_result = get_post_meta( $plugin->ID, 'e2e_success', true );
    305                                 if ( false !== $e2e_result ) {
     305                                if ( !empty( $e2e_result ) ) {
    306306                                        echo '<h4>' . __( 'Test Results', 'wporg-plugins' ) . '</h4>';
    307307                                        if ( 'true' === $e2e_result ) {
Note: See TracChangeset for help on using the changeset viewer.