Repository navigation
0.9.2
Patch release with WordPress 7.0 and PHP 8.1+ fixes, plus three generators that ignored what you picked.
Fixes
- Attachments on WordPress 7.0: generating attachments no longer fatals with
Call to undefined function FakerPress\Module\media_handle_sideload(). WordPress 7.0 preloadswp-admin/includes/file.php, so the singledownload_url()guard skippedmedia.php. Each admin include is now guarded by the function it provides. (#221) - Terms in the selected taxonomy: choosing Tags creates tags again, instead of categories. The singular
taxonomyalias'scategorydefault no longer overwrites the form'staxonomiesvalue. (#227) - Erase faked data deletes terms:
Term::fetch()/delete()read the singularfakerpress.module_flag.termoption while generation wrote the plural one, so generated categories and tags were never deleted. (#228) - Users get the selected role: bulk user generation no longer always assigns Subscriber. The endpoint prefers the form's
rolesvalue, and the module falls back to the site's default role when none is given. (#229) - PHP 8.1+ notices: no more
explode(): Passing null to parameter #2when generating posts from a sparse payload (#224), and no moreUsing null as an array offset is deprecatedfrom core'sRequests/Iri.phpwhen fetching external images (#230).
Full changelog: 0.9.1...0.9.2
Milestone: https://github.com/bordoni/fakerpress/milestone/11