Ticket #15784: 15784.2.patch
File 15784.2.patch, 1.2 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-posts-list-table.php
605 605 $out = array(); 606 606 foreach ( $categories as $c ) { 607 607 $out[] = sprintf( '<a href="%s">%s</a>', 608 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug ), 'edit.php' ) ),608 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug, 'post_status' => 'all' ), 'edit.php' ) ), 609 609 esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'category', 'display' ) ) 610 610 ); 611 611 } … … 626 626 $out = array(); 627 627 foreach ( $tags as $c ) { 628 628 $out[] = sprintf( '<a href="%s">%s</a>', 629 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug ), 'edit.php' ) ),629 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug, 'post_status' => 'all' ), 'edit.php' ) ), 630 630 esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'tag', 'display' ) ) 631 631 ); 632 632 }