wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_comment_trashnotice › WordPress Function
Since2.9.0
已弃用n/a
› wp_comment_trashnotice ( 没有参数 )
定义在: |
|
文档: |
Outputs 'undo move to Trash' text for comments.
Related Functions: wp_comment_reply, comment_date, comment_time, get_comment_time, wp_get_admin_notice
源码
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 }