Make WordPress Core

Changeset 24028


Ignore:
Timestamp:
04/18/2013 03:02:30 PM (11 years ago)
Author:
nacin
Message:

Pass $post to display_post_states filter (in _post_states()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r23739 r24028  
    15031503        $post_states['sticky'] = __('Sticky');
    15041504
    1505     $post_states = apply_filters( 'display_post_states', $post_states );
     1505    $post_states = apply_filters( 'display_post_states', $post_states, $post );
    15061506
    15071507    if ( ! empty($post_states) ) {
Note: See TracChangeset for help on using the changeset viewer.