Ticket #16243: 16243.2.diff
File 16243.2.diff, 621 bytes (added by , 14 years ago) |
---|
-
wp-admin/edit-tags.php
142 142 if ( $ret && !is_wp_error( $ret ) ) 143 143 $location = add_query_arg( 'message', 3, $location ); 144 144 else 145 $location = add_query_arg( 'message', 5, $location);145 wp_die( __('The item could not be updated. ') . $ret->get_error_message() . '</p><p><a href="' . wp_get_referer() . '" onclick="javascript:history.go(-1);return false;">' . __('Go back to try again') . '</a>' ); 146 146 147 147 wp_redirect( $location ); 148 148 exit;