Opened 15 years ago
Closed 15 years ago
#11878 closed defect (bug) (fixed)
Null value passed to apply_filters when get_post_class() is called without parameters.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | low |
Severity: | minor | Version: | 2.9 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
If post_class is called without a post_id, null value is passed to apply_filters as the post_id, instead of the ID of the current post.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Patch