#33927 closed enhancement (fixed)
Pass post object to get_sample_permalink_html filter explicitly
| Reported by: | SergeyBiryukov | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 34347: