You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
What happened?
Description
Hi.
I noticed that
ElementHelper::siteStatusesForElement
returnsfalse
for a site when an element isdisabled
and element istrashed
.but if an element is
trashed
and its status isenabled
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
The text was updated successfully, but these errors were encountered: