Opened 10 years ago
Closed 10 years ago
#37108 closed defect (bug) (duplicate)
Remove hardcoded 'https://' from wordpress
| Reported by: | yratof | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.5.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
Remove all instances of HTTP and HTTPS from wordpress and replace with // for the site to fetch the correct url. Especially when working locally or on a test domain.
Found in this file: wp-includes/scripts-loader.php
// Hotlink Open Sans, for now $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Welcome to trac yratof.
Protocal-relative URLs are an anti-pattern that is best for us to avoid. #21153 contains a bit more information and some previous discussion as well.