Contact list displays trashed items - this PR fixes it
Before
Create multiple newsfeeds
Create menu items for "News Feeds ยป List News Feeds in a Category"
Trash one feed and unpublish one feed
Check the menu without being logged in - the trashed and unpublished items do not appear
Login to the frontend as admin (or anyone with Special access)
The trashed and unpublished newsfeed is present
After
Apply the patch
Check the menu without being logged in - the trashed and unpublished items do not appear
Login to the frontend as admin (or anyone with Special access)
The unpublished newsfeed is present and the trashed one is not
Same here as in the other one. The setting of the state doesn't do anything and is unneeded. Please remove those lines, then it will be fine for merging.
test good