Index: wp-admin/includes/class-wp-list-table.php
===================================================================
--- wp-admin/includes/class-wp-list-table.php (revision 16099)
+++ wp-admin/includes/class-wp-list-table.php (working copy)
@@ -616,9 +616,9 @@
if ( $this->has_items() ) {
$this->display_table();
} else {
- echo '
';
+ echo '
';
$this->extra_tablenav( 'top' );
- echo '
';
+ echo '
';
echo '
';
$this->no_items();
echo '
';
@@ -694,10 +694,10 @@
$this->pagination( $which );
?>
-
+
-
+
row_actions( $actions );
get_inline_data( $post );
+ echo '';
break;
case 'date':
@@ -599,7 +600,7 @@
$out = array();
foreach ( $categories as $c ) {
$out[] = sprintf( '%s',
- add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug ), 'edit.php' ),
+ esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug ) ), 'edit.php' ),
esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'category', 'display' ) )
);
}
@@ -619,7 +620,7 @@
$out = array();
foreach ( $tags as $c ) {
$out[] = sprintf( '%s',
- add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug ), 'edit.php' ),
+ esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug ) ), 'edit.php' ),
esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'tag', 'display' ) )
);
}
@@ -647,7 +648,7 @@
?>
>%s',
- add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php' ),
+ esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php' )),
get_the_author()
);
?> |