Skip to main content

1.24.0 - Protected PDFs, smarter gating, and authored-content counts

· 2 min read
Konstantin Brazhnik
Senior Full Stack Engineer @ Yoko Co

Version 1.24.0 adds protected PDF file storage, granular content-gating messaging, and a new authored-content admin column, while bundling the LearnDash compatibility and PDF parser stability fixes shipped since 1.23.3.

  • [FEATURE] Adds protected PDF file storage and signed streaming for gated PDFs, including REST API hardening that hides gated media payload details from unauthorized visitors and new wp yoko pdf_protection support commands for checking, protecting, and unprotecting viewer-enabled files.
  • [FEATURE] Adds the [sso-if-content-requires] shortcode so one restriction message can branch on the roles the requested content requires, with companion guidance in the Content Gating docs.
  • [FEATURE] Replaces the Users screen's Posts column with the new Content column, which totals authored content across post types, expands into a per-type breakdown, and exposes matching wp yoko user_post_counts troubleshooting commands.
  • [FIX] Prevents fatal PSR interface collisions when LearnDash LMS is active by aligning the affected package requirements.
  • [FIX] Makes protected PDF storage survive environment clones and viewer setting changes, and normalizes the stored Content Protection settings so the new restriction-message shortcode continues to evaluate role requirements consistently.
  • [FIX] Collapses noisy non-fatal smalot/pdfparser warnings into a single summary log entry per file so PDF text extraction keeps its signal without flooding logs.