[wp-trac] [WordPress Trac] #30285: url_to_postid on FORCE_SSL_ADMIN takes https path instead of http
WordPress Trac
noreply at wordpress.org
Sun Nov 16 18:41:08 UTC 2014
#30285: url_to_postid on FORCE_SSL_ADMIN takes https path instead of http
--------------------------+-------------------------
Reporter: Ste_95 | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 4.0
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by johnbillion):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
Thanks for the report.
I'm unable to reproduce this issue. `url_to_postid()` uses `home_url()`,
not `site_url()`. Calling `url_to_postid()` with a permalink to a post or
page works as expected both with `FORCE_SSL_ADMIN` set to true, and with
the 'WordPress Address' option set to an https URL.
Please deactivate all your plugins and see if the issue persists. It could
be that one of your plugins is interfering and causing the issue. If you
can reproduce the issue with all plugins deactivated and the default theme
enabled, please re-open with exact details to reproduce the issue.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30285#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list