WordPress.org

Make WordPress Core

Ticket #28442: class-wp-posts-list-table.php.2.patch

File class-wp-posts-list-table.php.2.patch, 616 bytes (added by khromov, 6 years ago)

Attached a new patch with some comment clarifications.

  • class-wp-posts-list-table.php

     
    178178                        $status_links = array_merge( array_slice( $status_links, 0, $split ), $sticky_link, array_slice( $status_links, $split ) );
    179179                }
    180180
     181                /**
     182                 * Filter the post status links.
     183                 *
     184                 * @since 4.0
     185                 *
     186                 * @param array $status_links An array of fully-formed post links.
     187                 */
     188                $status_links = apply_filters('post_status_links', $status_links);
    181189                return $status_links;
    182190        }
    183191