wp/wp-admin/includes/class-wp-post-comments-list-table.php
changeset 9 177826044cd9
parent 7 cf61fcea0001
child 21 48c4eec2b7e6
--- a/wp/wp-admin/includes/class-wp-post-comments-list-table.php	Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-admin/includes/class-wp-post-comments-list-table.php	Mon Oct 14 18:28:13 2019 +0200
@@ -18,14 +18,13 @@
 class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
 
 	/**
-	 *
 	 * @return array
 	 */
 	protected function get_column_info() {
 		return array(
 			array(
-				'author'   => __( 'Author' ),
-				'comment'  => _x( 'Comment', 'column name' ),
+				'author'  => __( 'Author' ),
+				'comment' => _x( 'Comment', 'column name' ),
 			),
 			array(),
 			array(),
@@ -34,40 +33,42 @@
 	}
 
 	/**
-	 *
 	 * @return array
 	 */
 	protected function get_table_classes() {
-		$classes = parent::get_table_classes();
+		$classes   = parent::get_table_classes();
 		$classes[] = 'wp-list-table';
 		$classes[] = 'comments-box';
 		return $classes;
 	}
 
 	/**
-	 *
 	 * @param bool $output_empty
 	 */
 	public function display( $output_empty = false ) {
 		$singular = $this->_args['singular'];
 
-		wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
-?>
+		wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
+		?>
 <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" style="display:none;">
-	<tbody id="the-comment-list"<?php
+	<tbody id="the-comment-list"
+		<?php
 		if ( $singular ) {
 			echo " data-wp-lists='list:$singular'";
-		} ?>>
-		<?php if ( ! $output_empty ) {
+		}
+		?>
+		>
+		<?php
+		if ( ! $output_empty ) {
 			$this->display_rows_or_placeholder();
-		} ?>
+		}
+		?>
 	</tbody>
 </table>
-<?php
+		<?php
 	}
 
 	/**
-	 *
 	 * @param bool $comment_status
 	 * @return int
 	 */