Make WordPress Core

Ticket #41893: ticket-41893.patch

File ticket-41893.patch, 682 bytes (added by GunGeekATX, 7 years ago)
  • src/wp-admin/includes/class-wp-posts-list-table.php

    diff --git src/wp-admin/includes/class-wp-posts-list-table.php src/wp-admin/includes/class-wp-posts-list-table.php
    index 40f5315395..719c036722 100644
    class WP_Posts_List_Table extends WP_List_Table { 
    239239                        );
    240240                }
    241241
     242                /**
     243                 * Filters the URL to edit.php in the posts list table.
     244                 *
     245                 * @param string $url  The generated URL to edit.php.
     246                 * @param array  $args URL parameters for the link.
     247                 */
     248                $url = apply_filters( 'wp_posts_list_table_edit_url', $url, $args );
     249
    242250                return sprintf(
    243251                        '<a href="%s"%s>%s</a>',
    244252                        esc_url( $url ),