[wp-trac] [WordPress Trac] #23886: Use set_url_scheme for draft Preview links in post table
WordPress Trac
noreply at wordpress.org
Fri Mar 29 01:20:53 UTC 2013
#23886: Use set_url_scheme for draft Preview links in post table
-----------------------------+----------------------------
Reporter: reidburke | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Administration
Version: trunk | Severity: normal
Keywords: |
-----------------------------+----------------------------
When using FORCE_SSL_ADMIN and this filter to prevent non-SSL preview of
posts:
{{{
add_filter('secure_logged_in_cookie', '__return_true');
}}}
Preview links for unpublished drafts on `wp-admin/edit.php` do not use SSL
and will 404.
This can be fixed by using `set_url_scheme` for the unpublished preview
link. A similar unpublished preview link in `meta-boxes.php` was changed
to use `set_url_scheme` in [21664]. For context, see #20759, #13328.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23886>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list