What happened?
Description
Hi.
I noticed that ElementHelper::siteStatusesForElement returns false for a site when an element is disabled and element is trashed.
but if an element is trashed and its status is enabled for a site, siteStatusesForElement returns nothing for that site,
so I guess this is a bug.
Thanks!
Craft CMS version
5.0.0, 4.8.6
PHP version
8.2
Operating system and version
No response
Database type and version
MariaDB 10.6.7
Image driver and version
No response
Installed plugins and versions
What happened?
Description
Hi.
I noticed that
ElementHelper::siteStatusesForElementreturnsfalsefor a site when an element isdisabledand element istrashed.but if an element is
trashedand its status isenabledfor a site,siteStatusesForElementreturns nothing for that site,so I guess this is a bug.
Thanks!
Craft CMS version
5.0.0, 4.8.6
PHP version
8.2
Operating system and version
No response
Database type and version
MariaDB 10.6.7
Image driver and version
No response
Installed plugins and versions