WordPress Plugin 1.0.34: Protected Content Kept Out of the Index, Live Price and Stock Sync
Release 1.0.34 of Opensolr Search for WordPress fixes two cases where content that should never have been searchable was indexed and shown, and one where product data in the index quietly went stale. Update from your WordPress plugins screen.
01 Content that should not have been searchable
A password-protected post is still a published post, and the old visibility check only looked at publication status. The post therefore passed, and what was sent to the index was the expanded body rather than the password form — so the full text of a protected post was readable straight from the search results page, without the password.
WooCommerce products marked Hidden or Exclude from search were indexed and shown for the same kind of reason: that setting is stored in a product visibility taxonomy the plugin never consulted. Both cases are now excluded before anything reaches the index.
02 Price and stock changes now reach the index
WooCommerce keeps price, sale price, stock and SKU outside the post table, and changing them does not fire the post save hook the plugin listened for. Nothing told the index that anything had happened, so orders, scheduled sales and bulk price edits left search results and price filters showing figures that were no longer true. Those changes are now picked up and pushed through.
03 Settings that would not save, and other fixes
- Save & Start Fresh. It no longer deletes your existing index before the replacement exists.
- Four settings now save. Browse mode, Infinite scroll, a custom Minimum Match value, and crawler delays under one second could all be set but never stored.
- Facets persist. The hierarchical facet widget and the drag order of facets are kept correctly.
- Embedded search widget. The embeddable search widget fills the page as intended instead of rendering below the footer.