MantisBT: master-2.26 90df6dde

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2024-01-04 08:37 master-2.26 d198aa50
Affected Issues  0005189: "Operation successful." message page slows down interaction
 0033480: Blank page when redirecting with print_successful_redirect()
Changeset

Show delayed inline errors from print_header_redirect()

Following the deprecation of print_successful_redirect() function in
issue 0005189, calling it shows a blank page when $g_stop_on_errors = ON
and $g_display_errors[E_USER_DEPRECATED] = DISPLAY_ERROR_INLINE because
Mantis does not complete the redirection due to presence of a handled
error.

print_header_redirect() now displays a basic "proceed" page, with
redirection enabled only when $g_stop_on_errors = ON, allowing any
delayed inline error messages to be shown.

Fixes 0033480

mod - core/print_api.php Diff File