Skip to content

v2.0.10

Choose a tag to compare

@github-actions github-actions released this 12 Sep 09:00

Fixed

  • Fixed a Customizer bug where saving settings failed with error missing_post.
    • The virtual "Contact" page implementation was interfering with customize_changeset queries.
    • Rewritten to scope filters (posts_results, the_posts) strictly to the frontend /contact slug.
    • Removed the unnecessary get_post filter to prevent global side effects.
  • Hardened all query-related filters (pre_get_posts, posts_where, posts_clauses, etc.) with early returns for:
    • is_admin()
    • wp_doing_ajax()
    • is_customize_preview()
    • post_type = customize_changeset

Changed

  • Media: corrected a logical bug (&&&) in the pre_get_posts condition.
  • All filters now use the proper number of accepted arguments (2) to access the WP_Query object safely.
  • Refactored conditions to reduce reliance on global variables ($wp_query, $pagenow) where possible.