Support » Plugin: OptionTree » update after error

  • Hello there,

    after the last update on my website can not update my articles.
    It gives the wp-admin / post.php error.

    They said the code below is wrong. Line 742

    function _sanitize_recursive ($ values = array ()) {
    $ result = array ();
    foreach ($ values as $ key => $ value) {
    if (! is_object ($ value)) {
    if (is_scalar ($ value)) {
    $ result [$ key] = sanitize_textarea_field ($ value);
    } else {
    $ result [$ key] = _sanitize_recursive ($ value);
    }
    }
    }

    • This topic was modified 6 months, 2 weeks ago by  altinyol.
    • This topic was modified 6 months, 2 weeks ago by  altinyol.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘update after error’ is closed to new replies.