Changeset 10011
- Timestamp:
- 07/03/2020 07:26:05 AM (5 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
r10007 r10011 70 70 $output = ''; 71 71 72 if ( empty( $results_by_type['error'] ) ) { 73 $output .= '<h3>' . __( 'Success', 'wporg-plugins' ) . '</h3>'; 74 $output .= "<div class='notice notice-success notice-alt'>\n"; 75 $output .= __( 'No problems were found. Your plugin has passed the first step towards being included in the Block Directory.', 'wporg-plugins' ); 76 $output .= "</div>\n"; 77 } else { 78 $output .= '<h3>' . __( 'Problems were encountered', 'wporg-plugins' ) . '</h3>'; 79 $output .= "<div class='notice notice-error notice-alt'>\n"; 80 $output .= __( 'Some problems were found. They need to be addressed before your plugin will work in the Block Directory.', 'wporg-plugins' ); 81 $output .= "</div>\n"; 82 } 83 72 84 $error_types = array( 73 85 'error' => __( 'Fatal Errors:', 'wporg-plugins' ),
Note: See TracChangeset
for help on using the changeset viewer.