Skip to content

Infinite Loader 1.3.4 - cache invalidation, product de-dup, real CI gates - #23

Merged
vapvarun merged 3 commits into
masterfrom
1.3.4
Oct 21, 2026
Merged

vapvarun merged 3 commits into
masterfrom
1.3.4

Conversation

@vapvarun

Copy link
Copy Markdown
Member

Release 1.3.4. Fixes the Bugs/Triage cards: settings-cache key + save-time invalidation (10216886296), product de-dup on append/prepend (10216886644), load-more-button fallback + WP_DEBUG-gated security log (10323210720), and real PHPStan/WPCS gates with PHP 8.1-8.5 lint (10216885945). Admin-shell notice (10217102668) was already fixed on 1.3.4; verified in browser. Portfolio floor: Requires PHP 8.1, WC tested up to 11.2. Browser-verified on woo.local: load-more, infinity-scroll and reload path all 23/23 unique, 0 duplicates; settings save shows a styled notice.

Fixes the Bugs/Triage cards for the 1.3.4 release:

- Settings cache (card 10216886296): get_cached_option() now keys on the
  option name itself instead of double-prefixing it, so the deactivator and
  uninstall deletes actually hit it; added updated_option/added_option
  invalidation on save so a changed setting applies at once behind a
  persistent object cache.
- Product de-dup (card 10216886644): incoming products are stripped of any
  post-<id> already on the page before append/prepend, plus a URL-level guard
  that skips re-loading an already-loaded next page. Verified on load-more,
  infinity-scroll and a forced reload path (23/23 unique, 0 dupes).
- Overview + storefront fallback (card 10323210720): the default loading type
  when the option is absent is now load-more-button (the activation seed), not
  AJAX pagination, in all four fallbacks.
- Security log (card 10323210720): the blocked-JS error_log() is gated on
  WP_DEBUG, so it no longer writes to the production log on every save.
- CI is real (card 10216885945): committed phpcs.xml.dist + phpstan.neon.dist
  (+ composer tooling); removed continue-on-error and the `|| echo` from the
  PHPStan and WPCS jobs; PHP lint matrix now 8.1-8.5. Fixed the few genuine
  findings (static->$this call, ngettext filter arg counts, redundant
  method_exists, short ternary, block-comment spacing).
- Portfolio floor: Requires PHP 8.1, Tested up to 7.1, WC tested up to 11.2;
  readme header colon + duplicate line fixed. build-release.sh read-loop guard
  + dotfile sweep + wider leak net; dev tooling excluded from the zip.

Admin-shell notice card (10217102668) was already fixed on 1.3.4 (hr.wp-header-end
+ styled settings-error notice); verified in the browser, no code change.
@vapvarun
vapvarun merged commit d33a01a into master Oct 21, 2026
8 checks passed
@vapvarun
vapvarun deleted the 1.3.4 branch October 21, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant