Support » Fixing WordPress » Error in nightly

  • Here’s the error:
    Fatal error: Call to undefined function: detextile() in /path.../wordpress/wp-content/plugins/textile2.php on line 476
    Here’s the code in question:

    function fCode($m)
    {
    list(,$before,$lang,$code,$after) = $m;
    $lang = ($lang!='') ? ' language="'.$lang.'"' : '';
    return $before.'<code'.$lang.'>'.detextile($code).'
    '.$after;
    }

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, I deactivated Textile 2 and activated Textile 1, and the error went away, and the formatting worked.

    Okay, scratch that. I just modified the code above in textile2.php to call noTextile (instead of detextile) and that did the trick. yay!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.