Fixes Content List View installation, removes unecessary properties from the RecycleBinEventArgs, updates both the upload and image cropper property editors to properly remove all files including any associated with variants, updates several other places to deal with variants and Property.GetValue(langId), adds notes, ensures we are returning the corect IDictionary instead of Dictionary for some interfaces
This commit is contained in:
@@ -135,6 +135,7 @@ namespace Umbraco.Core
|
||||
/// <returns></returns>
|
||||
public static bool DetectIsJson(this string input)
|
||||
{
|
||||
if (input.IsNullOrWhiteSpace()) return false;
|
||||
input = input.Trim();
|
||||
return (input.StartsWith("{") && input.EndsWith("}"))
|
||||
|| (input.StartsWith("[") && input.EndsWith("]"));
|
||||
|
||||
Reference in New Issue
Block a user