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

custom list-item field problem in version 2.7.3 #743

Open
mehdi-eybak opened this issue Nov 16, 2022 · 2 comments
Open

custom list-item field problem in version 2.7.3 #743

mehdi-eybak opened this issue Nov 16, 2022 · 2 comments

Comments

@mehdi-eybak
Copy link

Hello, there is a problem in version 2.7.3
I have been using optiontree for almost 3 years.
The problem is that I could customize the list of items up to version v2.7.2 and add a desired field, but this cannot be done in version 2.7.3.

What does this mean?

The photo below is related to version 2.7.2 that I have customized. Of course, sorry, my language is Persian.

Screenshot 2022-11-16 215015

@behzadmsalehi
Copy link

just search for this :
preg_match( '/O|C:+?\d+:"[a-z0-9_]+":+?\d+:/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );
in : ot-functions-admin.php
and replace it with :
preg_match( '/O|C:+?\d+:"[a-z0-9_]+":+?\d+:/', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );

@mehdi-eybak
Copy link
Author

just search for this : preg_match( '/O|C:+?\d+:"[a-z0-9_]+":+?\d+:/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 ); in : ot-functions-admin.php and replace it with : preg_match( '/O|C:+?\d+:"[a-z0-9_]+":+?\d+:/', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );
Hey thank you very much

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

No branches or pull requests

2 participants