Changeset 12827 for trunk/wp-includes/ms-deprecated.php
- Timestamp:
- 01/25/2010 10:09:43 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-deprecated.php
r12733 r12827 57 57 } 58 58 59 if ( !function_exists('graceful_fail') ) : 60 /** 61 * @deprecated 3.0 62 */ 63 function graceful_fail( $message ) { 64 _deprecated_function( __FUNCTION__, '3.0', 'wp_die()' ); 65 $message = apply_filters('graceful_fail', $message); 66 $message_template = apply_filters( 'graceful_fail_template', 67 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 68 <html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11"> 69 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 70 <title>Error!</title> 71 <style type="text/css"> 72 img { 73 border: 0; 74 } 75 body { 76 line-height: 1.6em; font-family: Georgia, serif; width: 390px; margin: auto; 77 text-align: center; 78 } 79 .message { 80 font-size: 22px; 81 width: 350px; 82 margin: auto; 83 } 84 </style> 85 </head> 86 <body> 87 <p class="message">%s</p> 88 </body> 89 </html>' ); 90 die( sprintf( $message_template, $message ) ); 91 } 92 endif; 93 59 94 ?>
Note: See TracChangeset
for help on using the changeset viewer.