[wp-trac] [WordPress Trac] #52146: get_self_link does not support SSL

WordPress Trac noreply at wordpress.org
Sat Feb 13 15:30:50 UTC 2021


#52146: get_self_link does not support SSL
-----------------------------------------+---------------------
 Reporter:  dshanske                     |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  5.7
Component:  General                      |     Version:  5.3
 Severity:  minor                        |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+---------------------
Changes (by ocean90):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 @dshanske Could you provide some steps to reproduce the issue?

 `get_self_link()` uses `set_url_scheme()` which already sets the correct
 scheme based on `is_ssl()` so [attachment:"52146.diff"] isn't necessary
 here.

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


More information about the wp-trac mailing list