Making WordPress.org

Changeset 10406


Ignore:
Timestamp:
10/26/2020 05:49:17 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: Block Checker: Fix incorrect usage of compact().

File:
1 edited

Legend:

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

    r10176 r10406  
    829829                        // translators: %s is the block name.
    830830                        sprintf( __( 'Found file %s.', 'wporg-plugins' ), '<code>' . $script . '</code>' ),
    831                         compact( $kind, $script )
     831                        compact( 'kind', 'script' )
    832832                    );
    833833                } else {
     
    845845                        'error',
    846846                        sprintf( $message, '<code>' . $script . '</code>' ),
    847                         compact( $kind, $script )
     847                        compact( 'kind', 'script' )
    848848                    );
    849849                }
Note: See TracChangeset for help on using the changeset viewer.