[wp-trac] [WordPress Trac] #22338: Add filter for the output from `get_sample_permalink`

WordPress Trac noreply at wordpress.org
Fri Sep 18 21:41:42 UTC 2015


#22338: Add filter for the output from `get_sample_permalink`
-----------------------------------+-----------------------------
 Reporter:  simonwheatley          |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.4
Component:  Permalinks             |     Version:  3.4.2
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:13 SergeyBiryukov]:
 > This is not consistent with `'get_sample_permalink_html'` filter, which
 receives `$id` and not `$post->ID`, but it's too late to change that.

 Actually, let's do that: #33927.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22338#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list