option-tree icon indicating copy to clipboard operation
option-tree copied to clipboard

custom list-item field problem in version 2.7.3

Open mehdi-eybak opened this issue 2 years ago • 2 comments

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

mehdi-eybak avatar Nov 16 '22 18:11 mehdi-eybak

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 );

behzadmsalehi avatar Apr 18 '23 06:04 behzadmsalehi

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

mehdi-eybak avatar May 30 '23 12:05 mehdi-eybak