[wp-trac] [WordPress Trac] #35407: set_url_scheme() called inconsistently on URLs passed to `preview_post_link` filter

WordPress Trac noreply at wordpress.org
Thu Mar 10 04:30:48 UTC 2016


#35407: set_url_scheme() called inconsistently on URLs passed to
`preview_post_link` filter
-------------------------------+-------------------------
 Reporter:  danielbachhuber    |       Owner:  jeremyfelt
     Type:  defect (bug)       |      Status:  accepted
 Priority:  normal             |   Milestone:  4.5
Component:  Posts, Post Types  |     Version:  4.4
 Severity:  normal             |  Resolution:
 Keywords:  has-patch https    |     Focuses:
-------------------------------+-------------------------
Changes (by jeremyfelt):

 * version:   => 4.4


Comment:

 It looks like there are a couple places that lost their preview link
 `set_url_scheme()` in [34170] and a handful of other places that did not
 need to pass the third argument.

 [attachment:35407.diff] cleans up a couple of these for consistency.

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


More information about the wp-trac mailing list