v2.0.1
Notă de actualizare
CRITICAL FIX — Replaces the deprecated gpt-4-1106-preview model (now returns 404 from OpenAI) with gpt-4o-mini. Also fixes a levenshtein bug that flagged every long draft as a duplicate, restores featured-image generation under cron, and corrects the Status page cron diagnostics. Recommended for all users.- Corecție · CriticDefault GPT model changed from deprecated gpt-4-1106-preview (returns 404 from OpenAI) to gpt-4o-mini. Existing installations using the deprecated model are auto-migrated on next read.
- Corecție · CriticDuplicate-detection levenshtein bug — PHP levenshtein() returns -1 for inputs >255 chars, which incorrectly flagged every long article as 100% duplicate. Inputs are now truncated to 250 chars before comparison.
- Corecție · Ridicatmedia_sideload_image now loads wp-admin/includes/* before use — prevents fatal error when featured-image generation runs in cron context.
- Corecție · RidicatStatus page "Next WP-Cron Tick" was checking the wrong hook name and always reported "Not scheduled". Added a "Next Processing Run" diagnostic row.
- Corecție · RidicatJSON-LD Article schema and meta robots are now emitted via a global wp_head hook from post_meta, instead of only at publish-time. Schema also no longer embeds the full articleBody (saves bandwidth on every page load).
- Corecție · MediuAI-generated tags are merged with the focus keyword and synonyms, deduplicated, and applied via wp_set_post_tags.
- Corecție · MediuSource extraction increased from 200 to 800 words so the AI receives more context for long-form rewrites.
- Corecție · MediuRemoved deprecated Google sitemap-ping cron event (Google retired the endpoint in 2023). Existing scheduled events are unscheduled on init.
- Corecție · MediuDuplicate-detection query capped at 500 most-recent posts (was unbounded — risk of memory exhaustion on large sites).
- Corecție · ScăzutAll file_put_contents calls now use LOCK_EX to prevent log corruption under concurrent cron runs.
- Corecție · ScăzutRemoved leftover .cursor/debug.log writes from update-checker (dev tooling artifact).
- Corecție · ScăzutNonce values are now wp_unslash + sanitize_text_field'd before wp_verify_nonce, per WP coding standards.
- Corecție · ScăzutVariable shadowing fixed in process.php (paragraph counter renamed to $source_word_count).