Opened 17 years ago
Closed 17 years ago
#11878 closed defect (bug) (fixed)
Null value passed to apply_filters when get_post_class() is called without parameters.
| Reported by: | Utkarsh | Owned by: | nacin |
|---|---|---|---|
| Priority: | low | Milestone: | 3.0 |
| Component: | General | Version: | 2.9 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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