Ticket #28165: themes.php.diff
File themes.php.diff, 849 bytes (added by , 10 years ago) |
---|
-
wp-admin/themes.php
249 249 </tr> 250 250 <?php 251 251 foreach ( $broken_themes as $broken_theme ) { 252 $slug = $broken_theme->get( 'Name' ) ? $broken_theme->get( 'Name' ) : $broken_theme->get_stylesheet(); 253 $encoded_slug = urlencode($slug); 252 254 echo " 253 255 <tr> 254 256 <td>" . ( $broken_theme->get( 'Name' ) ? $broken_theme->get( 'Name' ) : $broken_theme->get_stylesheet() ) . "</td> 255 257 <td>" . $broken_theme->errors()->get_error_message() . "</td> 258 <td><a href=\"" . wp_nonce_url( admin_url( 'themes.php?action=delete&stylesheet=' . $encoded_slug ), 'delete-theme_' . $slug ) . "\" class=\"button button-secondary delete-theme\">" . __( 'Delete' ) . "</a></td> 256 259 </tr>"; 257 260 } 258 261 ?>