Source
function error ($errormsg, $lvl=E_USER_WARNING) {
$this->ERROR = $errormsg;
if ( MAGPIE_DEBUG ) {
wp_trigger_error( '', $errormsg, $lvl);
}
else {
error_log( $errormsg, 0);
}
}
CARVIEW |
function error ($errormsg, $lvl=E_USER_WARNING) {
$this->ERROR = $errormsg;
if ( MAGPIE_DEBUG ) {
wp_trigger_error( '', $errormsg, $lvl);
}
else {
error_log( $errormsg, 0);
}
}
Uses | Description |
---|---|
wp_trigger_error()wp-includes/functions.php | Generates a user-level error/warning/notice/deprecation message. |
Used by | Description |
---|---|
RSSCache::debug()wp-includes/rss.php |
User Contributed Notes
You must log in before being able to contribute a note or feedback.