Opened 12 years ago
Closed 12 years ago
#23886 closed defect (bug) (fixed)
Use set_url_scheme for draft Preview links in post table
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Proposed patch for Preview link in post table