| 1 | Index: wp-admin/edit-tags.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/edit-tags.php (revision 17365) |
|---|
| 4 | +++ wp-admin/edit-tags.php (working copy) |
|---|
| 5 | @@ -142,7 +142,7 @@ |
|---|
| 6 | if ( $ret && !is_wp_error( $ret ) ) |
|---|
| 7 | $location = add_query_arg( 'message', 3, $location ); |
|---|
| 8 | else |
|---|
| 9 | - $location = add_query_arg( 'message', 5, $location ); |
|---|
| 10 | + 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>' ); |
|---|
| 11 | |
|---|
| 12 | wp_redirect( $location ); |
|---|
| 13 | exit; |
|---|