Ticket #13942: admin-ajax.php.diff
File admin-ajax.php.diff, 699 bytes (added by , 14 years ago) |
---|
-
trunk/wp-admin/admin-ajax.php
33 33 if ( ! $id ) 34 34 die('-1'); 35 35 36 $message = sprintf( __('<s trong>ALERT: You are logged out!</strong> Could not save draft. <a href="%s" target="_blank">Please log in again.</a>'), wp_login_url() );36 $message = sprintf( __('<span class="error"><strong>ALERT: You are logged out!</strong> Could not save draft. <a href="%s" target="_blank">Please log in again.</a></span>'), wp_login_url() ); 37 37 $x = new WP_Ajax_Response( array( 38 38 'what' => 'autosave', 39 39 'id' => $id,