Opened 9 minutes ago
#38148 new enhancement
Do not store protocol in the database
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Media | Keywords: | |
| Focuses: | Cc: |
Description
We should not store the protocol of files in the database.
Instead of http://mysite.com/wp-content/uploads/image.png we could strip the protocol while saving the entry and save it as //mysite.com/wp-content/uploads/image.png instead.
This will make http/https issues a lot easier to address, and hopefully ease migrations to HTTPS.
There are a bunch of plugins out there that can do this, but they shouldn't have to... This is something that can be done in-core a lot more efficiently for everyone.
Note: See
TracTickets for help on using
tickets.