MantisBT: master 4714c1ac

Author Committer Branch Timestamp Parent
dregad dregad master 2019-04-12 16:59:40 master 20317186
Affected Issues  0023694: View Issue page menu links from EVENT MENU_ISSUE event are wrapped with "[", "]" characters

Obsolete print_bracket_link_prepared()

This function was used in MantisBT 1.x to display links surrounded by
square brackets for menus. With MantisBT Modern UI, it has been replaced
with CSS styling, to display the links as buttons.

One use case was not properly migrated, when displaying links on View
Issues Page (processing the EVENT_MENU_ISSUE hook).

The problem cannot be fixed properly within MantisBT code, it requires
an update of the Plugin's hook (returning an array of label => link
pairs instead of cooked links).

Consequently, the function has been marked as obsolete so that a warning
is displayed, to inform plugin developers that they should update their

Fixes 0023694

mod - core/print_api.php Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml Diff File