#33927 closed enhancement (fixed)
Pass post object to get_sample_permalink_html filter explicitly
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Posts, Post Types | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
get_sample_permalink_html filter's second parameter can be a post ID or a post object.
This is confusing. We should pass the post ID and post object separately, for consistency with get_sample_permalink filter added in [34309].
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 34347: