-
Fix: Allow post authors to preview their own drafts on the front-end.
- Introduces
is_previewing_own_post()
to safely detect preview mode and user permissions. - Adjusts
post_type_visibility()
to skip content hiding when previewing own drafts.
- Introduces
-
Fix: Preserve pagination in blog pages for secondary WPML languages.
- Resolves issue where translated paginated posts were redirected to non-paginated URLs.
- Adds support for correctly detecting paginated blog pages in non-default languages.
- Ensures translated pages retain the pagination query string.