[wp-trac] [WordPress Trac] #35120: Insert attachment should not always https
WordPress Trac
noreply at wordpress.org
Wed Dec 16 13:36:05 UTC 2015
#35120: Insert attachment should not always https
-------------------------------+------------------------------
Reporter: hnle | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: https needs-patch | Focuses: administration
-------------------------------+------------------------------
Changes (by joemcgill):
* keywords: => https needs-patch
* owner: => joemcgill
* status: new => reviewing
Comment:
Hi @hnle,
Thanks for the report. This definitely looks like a bug. WP_CONTENT_URL is
used in `wp_upload_dir()` to build the URL to the uplods directory, which
is then used throughout many functions in core. The one that is affecting
you is `get_image_tag()`, which is used to build the HTML for an image
before inserting it into a post.
Related history can be found in #15928.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35120#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list