Making WordPress.org


Ignore:
Timestamp:
07/15/2020 09:07:43 PM (6 years ago)
Author:
ryelle
Message:

Plugin Directory: Remove *.asset.php check from block checker

This check only applies to a specific build process, and having more than one asset file is not inherently a bad thing.

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

    r10066 r10071  
    267267            case 'check_block_json_is_valid_json':
    268268                return __( 'This block.json file is invalid. The Block Directory needs to be able to read this file.', 'wporg-plugins' );
    269             case 'check_asset_php_file':
    270                 return __( '', 'wporg-plugins' ); // @todo
    271269            case 'check_php_size':
    272270                return __( 'Block plugins should keep the PHP code to a mimmum. If you need a lot of PHP code, your plugin probably belongs in the main Plugin Directory rather than the Block Directory.', 'wporg-plugins' );
Note: See TracChangeset for help on using the changeset viewer.