Changeset 10089 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
- Timestamp:
- 07/22/2020 05:00:49 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-block-validator.php
r10078 r10089 316 316 case 'check_for_single_parent': 317 317 return __( 'Block plugins should contain a single main block, which is added to the editor when the block is installed. If multiple blocks are used (ex: list items in a list block), the list items should set the `parent` property in their `block.json` file.', 'wporg-plugins' ); 318 case 'check_php_function_calls': 319 return __( 'Block plugins should contain minimal PHP with no UI outside the editor. JavaScript should be used instead of PHP where possible.', 'wporg-plugins' ); 318 320 // This is a special case, since multiple values may be collapsed. 319 321 case 'check_block_json_is_valid':
Note: See TracChangeset
for help on using the changeset viewer.