#108185Content element becomes visible when both page and element are disabled
Description
I have encountered in TYPO3 v13.4.20 involving disabled pages and content elements.
Steps to reproduce:
1. Create a new page.
2. Add a simple “Header” content element.
3. Check the frontend → the element is visible (expected).
4. Disable the content element.
5. Check the frontend → the element is not visible (expected).
6. Now disable both:
* the page
* and the content element
7. Check the frontend again → the content element becomes visible (unexpected).
Expected behavior:**
When both the page and the content element are disabled, the content element **must not appear in the frontend.
**Actual behavior:**
The content element is shown in the frontend despite both being disabled.
The adminpanel option “Show hidden records” has no function anymore.
- v13.4.18 – works correctly
- v13.4.19 – works correctly
- v13.4.20 – bug occurs
This confirms the issue was introduced in v13.4.20.
For reference: https://typo3.slack.com/archives/C03AM9R17/p1763533981019079