Ticket #15260: edit.patch
File edit.patch, 2.3 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-list-table.php
616 616 if ( $this->has_items() ) { 617 617 $this->display_table(); 618 618 } else { 619 echo '<br class="clear" >';619 echo '<br class="clear" />'; 620 620 $this->extra_tablenav( 'top' ); 621 echo '<br class="clear" >';621 echo '<br class="clear" />'; 622 622 echo '<p>'; 623 623 $this->no_items(); 624 624 echo '</p>'; … … 694 694 $this->pagination( $which ); 695 695 ?> 696 696 697 <br class="clear" >697 <br class="clear" /> 698 698 </div> 699 699 700 <br class="clear" >700 <br class="clear" /> 701 701 <?php 702 702 } 703 703 -
wp-admin/includes/list-table-posts.php
553 553 echo $this->row_actions( $actions ); 554 554 555 555 get_inline_data( $post ); 556 echo '</td>'; 556 557 break; 557 558 558 559 case 'date': … … 599 600 $out = array(); 600 601 foreach ( $categories as $c ) { 601 602 $out[] = sprintf( '<a href="%s">%s</a>', 602 add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug), 'edit.php' ),603 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'category_name' => $c->slug ) ), 'edit.php' ), 603 604 esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'category', 'display' ) ) 604 605 ); 605 606 } … … 619 620 $out = array(); 620 621 foreach ( $tags as $c ) { 621 622 $out[] = sprintf( '<a href="%s">%s</a>', 622 add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug), 'edit.php' ),623 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'tag' => $c->slug ) ), 'edit.php' ), 623 624 esc_html( sanitize_term_field( 'name', $c->name, $c->term_id, 'tag', 'display' ) ) 624 625 ); 625 626 } … … 647 648 ?> 648 649 <td <?php echo $attributes ?>><?php 649 650 printf( '<a href="%s">%s</a>', 650 add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php'),651 esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php' )), 651 652 get_the_author() 652 653 ); 653 654 ?></td>