Opened 13 years ago
Closed 13 years ago
#23886 closed defect (bug) (fixed)
Use set_url_scheme for draft Preview links in post table
| Reported by: | reidburke | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Administration | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Proposed patch for Preview link in post table