Making WordPress.org

Changeset 10012


Ignore:
Timestamp:
07/05/2020 11:54:45 PM (5 years ago)
Author:
tellyworth
Message:

Plugin directory: improve some validator messages.

Thanks tobifjellner.

File:
1 edited

Legend:

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

    r10007 r10012  
    480480                $this->record_result( __FUNCTION__,
    481481                    'info',
    482                     sprintf( __( '%s is valid.', 'wporg-plugins' ), $this->relative_filename( $block_json_file ) ),
     482                    sprintf( __( 'JSON file %s is valid.', 'wporg-plugins' ), $this->relative_filename( $block_json_file ) ),
    483483                    $this->relative_filename( $block_json_file )
    484484                );
     
    494494                        $this->record_result( __FUNCTION__,
    495495                            ( 'error' === $code ? 'warning' : $code ), // TODO: be smarter about mapping these
    496                             $message,
     496                            $this->relative_filename( $block_json_file ) . ': ' . $message,
    497497                            array(
    498498                                $this->relative_filename( $block_json_file ),
Note: See TracChangeset for help on using the changeset viewer.