Make WordPress Core

Ticket #37280: 37280.template.diff

File 37280.template.diff, 1.4 KB (added by Presskopp, 9 years ago)
  • wp-admin/includes/template.php

     
    462462function wp_comment_trashnotice() {
    463463?>
    464464<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>
    466466</div>
    467467<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>
    469469</div>
    470470<?php
    471471}
     
    14771477                $css_id = 'setting-error-' . $details['code'];
    14781478                $css_class = $details['type'] . ' settings-error notice is-dismissible';
    14791479                $output .= "<div id='$css_id' class='$css_class'> \n";
    1480                 $output .= "<p><strong>{$details['message']}</strong></p>";
     1480                $output .= "<p>{$details['message']}</p>";
    14811481                $output .= "</div> \n";
    14821482        }
    14831483        echo $output;