Making WordPress.org


Ignore:
Timestamp:
07/03/2020 03:11:38 AM (6 years ago)
Author:
dd32
Message:

Pinking shears, 10000

File:
1 edited

Legend:

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

    r9997 r10000  
    267267                        'check_name' => $check_name,
    268268                        'type' => $type,
    269                         'message' => $message, 
     269                        'message' => $message,
    270270                        'data' => $data );
    271271        }
     
    331331                                                continue; // It's this very same plugin
    332332
    333                                         $this->record_result( __FUNCTION__, 
    334                                                 'info', 
    335                                                 sprintf( __( 'Block name already exists in plugin %s', 'wporg-plugins' ), $query->posts[0]->post_name ), 
     333                                        $this->record_result( __FUNCTION__,
     334                                                'info',
     335                                                sprintf( __( 'Block name already exists in plugin %s', 'wporg-plugins' ), $query->posts[0]->post_name ),
    336336                                                [ 'block_name' => $block->name, 'slug' => $post->post_name ]
    337337                                        );
     
    472472        function check_block_json_is_valid() {
    473473                foreach ( $this->block_json_validation as $block_json_file => $result ) {
    474                         if ( true === $result ) { 
     474                        if ( true === $result ) {
    475475                                $this->record_result( __FUNCTION__,
    476476                                        'info',
     
    490490                                                        ( 'error' === $code ? 'warning' : $code ), // TODO: be smarter about mapping these
    491491                                                        $message,
    492                                                         array( 
     492                                                        array(
    493493                                                                $this->relative_filename( $block_json_file ),
    494494                                                                $result->get_error_data( $code )
Note: See TracChangeset for help on using the changeset viewer.