Blog Lead Magnet
Wersja v1.1.3 · 5 października 2026
Wtyczka automatycznie wstrzykuje bloki CTA do wpisów blogowych. Obsługuje floating bar, analytics kliknięć i pełną konfigurację per-post.
Changelog
v1.1.3 5 października 2026
Full Changelog: https://github.com/lukelocksmith/blog-lead-magnet/compare/v1.1.2...v1.1.3
v1.1.2 30 września 2026
Full Changelog: https://github.com/lukelocksmith/blog-lead-magnet/compare/v1.1.0...v1.1.2
v1.1.1 16 kwietnia 2026
What's new in v1.1.1
Added
- Per-post CTA overrides — full accordion in post meta box with all CTA settings (heading, body, shortcode, button, colors, position) overridable per post
- Analytics per-post breakdown — click any CTA row in analytics to expand impressions/clicks per post
- Live CTA preview in admin form — updates in real time as you type
- Mode-conditional fields in floating bar settings — Autor/Przycisk fields hidden in toc_only mode
- WP Cron daily cleanup for analytics table
- Rate limiting (30 req/IP/min) on tracking AJAX endpoint
Changed
- "+ Dodaj CTA" button moved to page header row (opposite plugin title)
- Floating bar settings page redesigned to match admin design system
- Post meta box CTA cards visually separated (gray container, gap between cards, shadow)
- orderby=rand replaced with deterministic shuffle + transient cache
Fixed
- Security: current_user_can() before nonce check in all handlers (capability-before-nonce order)
- Security: enum whitelist validation for type and display_condition fields
- Performance: maybe_upgrade() gated behind version option (no SHOW COLUMNS on every request)
- Performance: blm_init() early-return for AJAX/Cron/REST before is_admin() check
- Performance: N+1 in analytics AJAX fixed with _prime_post_caches()
- Performance: N+1 in CTA list fixed with get_terms() batch query
- Performance: O(n^2) to O(n) content processing in find_percent_offset()
- wp_enqueue_media() now loads only on post CPT screen
- PHP parse error in meta box foreach value destructuring
v1.1.0 9 kwietnia 2026
Full Changelog: https://github.com/lukelocksmith/blog-lead-magnet/commits/v1.1.0