Backport ShowUnroutableContentWarnings to V13 (#18479)
This commit is contained in:
@@ -1278,6 +1278,11 @@ public class ContentController : ContentControllerBase
|
||||
SimpleNotificationModel globalNotifications,
|
||||
string[]? successfulCultures)
|
||||
{
|
||||
if (_contentSettings.ShowUnroutableContentWarnings is false)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
IContent? content = publishStatus.FirstOrDefault()?.Content;
|
||||
if (content is null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user