Changeset 14512
- Timestamp:
- 08/12/2025 07:18:03 AM (6 weeks ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
r14462 r14512 703 703 // Pass it through Theme Check and see how great this theme really is. 704 704 if ( $args['run_themecheck'] ) { 705 ob_start(); 705 706 $result = $this->check_theme(); 707 $theme_check_output = ob_get_clean(); 708 709 // Output the Theme Check results. This is the only HTML that this function outputs. 710 echo $theme_check_output; 706 711 707 712 if ( ! $result && $args['block_on_themecheck'] ) { … … 716 721 '//wordpress.org/plugins/theme-check/', 717 722 '<a href="https://make.wordpress.org/themes">https://make.wordpress.org/themes</a>' 718 ) 723 ), 724 $theme_check_output 719 725 ); 720 726 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/jobs/class-svn-import.php
r12912 r14512 133 133 } 134 134 135 $error_message = $return->get_error_message(); 136 137 // For theme check failures, include the HTML output by the TC functions. 138 if ( 'failed_theme_check' === $return->get_error_code() ) { 139 $error_message .= '<br><br>' . $return->get_error_data( 'failed_theme_check' ); 140 } 141 135 142 /* 136 143 * Otherwise email the author about this problem. … … 157 164 esc_html( $uploader->author->display_name ?: $uploader->author->user_login ), 158 165 $uploader->theme->display('Name') . ' ' . $uploader->theme->display('Version'), 159 '<div style="margin-left: 30px">' . $ return->get_error_message(). '</div>',166 '<div style="margin-left: 30px">' . $error_message . '</div>', 160 167 'https://make.wordpress.org/themes/handbook/review/required/' 161 168 ), 162 169 [ 163 170 'From: "WordPress Theme Directory" <themes@wordpress.org>', 164 'Content-Type: text/html; charset=UTF-8' 171 'Content-Type: text/html; charset=UTF-8', 172 'BCC: themes@wordpress.org' 165 173 ] 166 174 );
Note: See TracChangeset
for help on using the changeset viewer.