Patch release fixing two regressions reported on wp.org.
Fixes
- Restore date-type meta generation —
WP_Meta::meta_type_dateno longer fatals withClass "FakerPress\Provider\Chronos" not found. TheChronosimport was missing from the provider file. (#209) — wp.org thread - Honour the selected post type(s) on the Posts generator. The admin form's plural
post_typesvalue was silently overwritten by the singular alias's default ofpost, so selecting "Page" still produced posts. (#210) — wp.org thread - Suppress the
Undefined property: stdClass::$termswarning emitted byWP_Post::tax_inputunder PHP 8.x when the taxonomy config does not include atermskey.
Tweak
- REST endpoint
POST /fakerpress/v1/posts/generatenow documentspost_types(array or comma-separated string) as the canonical parameter; the existingpost_typesingular alias is preserved for backwards compatibility.
Tests
- Regression coverage for
meta_type_date, sparsetax_inputconfigs, and every shape ofpost_typespayload (CSV, array, singular alias, plural-wins-over-default).
Full changelog: 0.9.0...0.9.1
Milestone: https://github.com/bordoni/fakerpress/milestone/10