use wp_die instead of echo/exit pair
|Reported by:||nbachiyski||Owned by:||westi|
In tow places in wp-admin errors are taken from WP_Error object and are just printed and the script ends.
Thus it is both not very beautoful and doesn't issue the correct encoding headers. Using wp_die solves both problems.
Change History (7)
Note: See TracTickets for help on using tickets.