row; $editor = JEditor::getInstance(JFactory::getApplication()->get('editor')); ?>
= 7 supporting throwable exceptions for Fatal Errors * we try to avoid issues with third party plugins that make use * of the WP native function get_current_screen(). * * @wponly */ try { echo $editor->display( "descr", (count($row) ? $row['descr'] : ""), '100%', 300, 70, 20 ); } catch (Throwable $t) { echo $t->getMessage() . ' in ' . $t->getFile() . ':' . $t->getLine() . '
'; } } else { // we cannot catch Fatal Errors in PHP 5.x echo $editor->display( "descr", (count($row) ? $row['descr'] : ""), '100%', 300, 70, 20 ); } ?>