Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues:710 - Hotfix on regex pattern and resolve problem to show list-item. and add menu select feature. #738

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vheidari
Copy link

@vheidari vheidari commented Oct 2, 2021

  1. Hotfix on regex pattern and resolve problem to show list-item.
    Option setting not reset and list-item meta box not showing properly #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.

  1. Add menu select feature.
    Bringing all WordPress navigation menus to Option-Tree as a select box.

…' 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 upppercase 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.
@vheidari vheidari changed the title issues:710 - Hotfix on regex pattern and resolve problem to show list-item. issues:710 - Hotfix on regex pattern and resolve problem to show list-item. and add menu select feature. Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant