Skip to content

Version 7.0.42

Choose a tag to compare

@mseiedmiri mseiedmiri released this 06 Aug 22:34
· 27 commits to master since this release

Fixed

  • CPT archives 404 after adding a permalink front base. When the site's permalink structure includes a front (e.g. /blog/%postname%), WordPress prepended that front to the Rechat custom post types, so /agents, /offices, /regions, and /neighborhoods moved to /blog/agents etc. and returned 404 at the root path. Each CPT rewrite now sets with_front => false, keeping the archive/single URLs at the root regardless of the permalink front.
  • Added a one-time, version-gated flush_rewrite_rules() on init so the new rewrite rules take effect after deploy (deploys git reset --hard without reactivating the plugin).

Internal

  • Bumped plugin header Version: and RCH_VERSION to 7.0.42.