wpseek.com
A WordPress-centric search engine for devs and theme authors



graceful_fail › WordPress Function

Since
Deprecated3.0.0
graceful_fail ( $message )
See:
Defined at:
Codex:
Change Log:
  • MU

Deprecated functionality to gracefully fail.



Source

function graceful_fail( $message ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'wp_die()' );
	$message = apply_filters( 'graceful_fail', $message );
	$message_template = apply_filters( 'graceful_fail_template',
'<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Error!</title>
<style type="text/css">
img {
	border: 0;
}