Uma área de pesquisa sobre o WordPress para devs e autores do tema



graceful_fail ›

Desde3.0.0
Obsoleto3.0.0
graceful_fail ( $message )
Ver:
Definido em:
Codex:
Log de mudanças:
  • MU

Deprecated functionality to gracefully fail.



Fonte

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 xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Error!</title>
<style type="text/css">
img {
	border: 0;
}