Ticket #37280: 37280.template.diff
File 37280.template.diff, 1.4 KB (added by , 9 years ago) |
---|
-
wp-admin/includes/template.php
462 462 function wp_comment_trashnotice() { 463 463 ?> 464 464 <div class="hidden" id="trash-undo-holder"> 465 <div class="trash-undo-inside"><?php printf(__('Comment by %s moved to the trash.') , '<strong></strong>'); ?> <span class="undo untrash"><a href="#"><?php _e('Undo'); ?></a></span></div>465 <div class="trash-undo-inside"><?php printf(__('Comment by %s moved to the trash.')); ?> <span class="undo untrash"><a href="#"><?php _e('Undo'); ?></a></span></div> 466 466 </div> 467 467 <div class="hidden" id="spam-undo-holder"> 468 <div class="spam-undo-inside"><?php printf(__('Comment by %s marked as spam.') , '<strong></strong>'); ?> <span class="undo unspam"><a href="#"><?php _e('Undo'); ?></a></span></div>468 <div class="spam-undo-inside"><?php printf(__('Comment by %s marked as spam.')); ?> <span class="undo unspam"><a href="#"><?php _e('Undo'); ?></a></span></div> 469 469 </div> 470 470 <?php 471 471 } … … 1477 1477 $css_id = 'setting-error-' . $details['code']; 1478 1478 $css_class = $details['type'] . ' settings-error notice is-dismissible'; 1479 1479 $output .= "<div id='$css_id' class='$css_class'> \n"; 1480 $output .= "<p> <strong>{$details['message']}</strong></p>";1480 $output .= "<p>{$details['message']}</p>"; 1481 1481 $output .= "</div> \n"; 1482 1482 } 1483 1483 echo $output;