~ubuntu-branches/debian/jessie/wordpress/jessie

« back to all changes in this revision

Viewing changes to wp-admin/includes/class-wp-comments-list-table.php

  • Committer: Package Import Robot
  • Author(s): Craig Small
  • Date: 2014-04-17 20:56:19 UTC
  • mfrom: (1.2.35)
  • Revision ID: package-import@ubuntu.com-20140417205619-nurbet6eho4yvwfv
Tags: 3.9+dfsg-1
* New upstream release
* 3.9 seems to handle different locations for plugins so the
  plugin directory handling patches have been cut back.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
                if ( 'top' == $which ) {
234
234
?>
235
235
                        <select name="comment_type">
236
 
                                <option value=""><?php _e( 'Show all comment types' ); ?></option>
 
236
                                <option value=""><?php _e( 'All comment types' ); ?></option>
237
237
<?php
238
238
                                /**
239
239
                                 * Filter the comment types dropdown menu.
316
316
                $this->display_tablenav( 'top' );
317
317
 
318
318
?>
319
 
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
 
319
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>">
320
320
        <thead>
321
321
        <tr>
322
322
                <?php $this->print_column_headers(); ?>
462
462
 
463
463
                        if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) {
464
464
                                $actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . esc_attr__( 'Edit comment' ) . "'>". __( 'Edit' ) . '</a>';
465
 
                                $actions['quickedit'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick&nbsp;Edit' ) . '</a>';
466
 
                                $actions['reply'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\' );return false;" class="vim-r" title="'.esc_attr__( 'Reply to this comment' ).'" href="#">' . __( 'Reply' ) . '</a>';
 
465
                                $actions['quickedit'] = '<a onclick="window.commentReply && commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick&nbsp;Edit' ) . '</a>';
 
466
                                $actions['reply'] = '<a onclick="window.commentReply && commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\' );return false;" class="vim-r" title="'.esc_attr__( 'Reply to this comment' ).'" href="#">' . __( 'Reply' ) . '</a>';
467
467
                        }
468
468
 
469
469
                        /** This filter is documented in wp-admin/includes/dashboard.php */
602
602
 
603
603
                wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
604
604
?>
605
 
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;">
 
605
<table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;">
606
606
        <tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
607
607
                <?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?>
608
608
        </tbody>