WordPress.org

Make WordPress Core

Ticket #16502: 16502.diff

File 16502.diff, 652 bytes (added by garyc40, 5 years ago)

simple patch

  • wp-admin/includes/class-wp-posts-list-table.php

    diff --git wp-admin/includes/class-wp-posts-list-table.php wp-admin/includes/class-wp-posts-list-table.php
    index e623ab5..64c9704 100644
    class WP_Posts_List_Table extends WP_List_Table { 
    560560 
    561561                                $actions = apply_filters( is_post_type_hierarchical( $post->post_type ) ? 'page_row_actions' : 'post_row_actions', $actions, $post ); 
    562562                                echo $this->row_actions( $actions ); 
     563                                 
     564                                if ( isset( $actions['inline hide-if-no-js'] ) ) 
     565                                        get_inline_data( $post ); 
    563566 
    564                                 get_inline_data( $post ); 
    565567                                echo '</td>'; 
    566568                        break; 
    567569