post_preview() does not apply the preview_post_link filter
|Reported by:||atetlaw||Owned by:||SergeyBiryukov|
|Component:||Administration||Keywords:||has-patch 3.6-early commit|
The post_preview() function (line # 1367 in wp-admin/includes/post.php) does not apply the preview_post_link filter and it probably should.
The upshot of that is although the correct URL is generated for the anchor tag for the Preview button, clicking the button opens the standard preview URL.
Change History (12)
comment:1 @SergeyBiryukov — 3 years ago
- Component changed from General to Administration
- Keywords has-patch added
comment:4 @SergeyBiryukov — 2 years ago
- Keywords 3.6-early added
- Milestone changed from Awaiting Review to Future Release