Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_comment_trashnotice ›

Da2.9.0
Deprecaton/a
wp_comment_trashnotice ( Nessun parametro )
Definito a:
Codex:

Output 'undo move to trash' text for comments



Sorgenti

function wp_comment_trashnotice() {
	?>
<div class="hidden" id="trash-undo-holder">
	<div class="trash-undo-inside">
		<?php
		/* translators: %s: Comment author, filled by AJAX. */
		printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' );
		?>
		<span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span>
	</div>
</div>
<div class="hidden" id="spam-undo-holder">
	<div class="spam-undo-inside">
		<?php
		/* translators: %s: Comment author, filled by AJAX. */
		printf( __( 'Comment by %s marked as spam.' ), '<strong></strong>' );
		?>
		<span class="undo unspam"><a href="#"><?php _e( 'Undo' ); ?></a></span>
	</div>
</div>
	<?php
}