WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21153, comment 1


Ignore:
Timestamp:
09/28/2014 11:44:22 AM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21153, comment 1

    initial v1  
    1 I don't think you're tracing the code far back enough ... WP_CONTENT_URL is defined partially off of get_option( 'siteurl' ); -- which currently requires there to be a http:// or https://
     1I don't think you're tracing the code far back enough ... `WP_CONTENT_URL` is defined partially off of `get_option( 'siteurl' );` -- which currently requires there to be a `http://` or `https://`
    22
    3 Your best option with this may be to enable defining that as //example.com rather than http://example.com or https://example.com
     3Your best option with this may be to enable defining that as `//example.com` rather than `http://example.com` or `https://example.com`