Hotfix on regex pattern and resolve problem to show list-item.
714 For this situation we just needing to search for uppercase 'O' and 'C' letter in the serialized string.
for that reason we should must remove insensitive "i" symbol from the end of the string pattern. with 'i' symbol and hybrid mode pattern ('O | C') preg_match function searched for any uppercase and lowercase letter and if find lowercase letter like 'o' in serialized text. this function return a wrong array that in result if statement ('//Prevent object injection or non arrays.') equal true then ot_decode function return '$fallback' value.
Add menu select feature.
Bringing all WordPress navigation menus to Option-Tree as a select box.
714 For this situation we just needing to search for uppercase 'O' and 'C' letter in the serialized string.
for that reason we should must remove insensitive "i" symbol from the end of the string pattern. with 'i' symbol and hybrid mode pattern ('O | C')
preg_match
function searched for any uppercase and lowercase letter and if find lowercase letter like 'o' in serialized text. this function return a wrong array that in resultif
statement ('//Prevent object injection or non arrays.') equal true thenot_decode
function return '$fallback' value.