Currently, Menu Block does not allow users to make the block title a link to the menu item if they have specified block title override text. I'd like to be able to make the block title a link to the menu item, but also be able to override the text of the link.
I'm attaching a patch that provides this new functionality. I welcome any feedback on the approach or implementation. Please note that there is an update hook, so you will need to run update.php after patching.
Some implementation details:
The original block title override field is provided by the Block module, which if specified, will override any title (including HTML for a link) that Menu Block sets. So in order for users to specify override text for the block title and still allow Menu Block to make the title a link, I added a new field to the Menu Block configuration that replaces the Block module's title override field. Then when Menu Block renders the block title, it uses this new field as the block title or block title link text if a value was specified. I also added an Update hook to migrate any existing title override text for menu blocks into the new field.
The majority of the changes are related to how the data is stored - the only difference an end user would see is that they are now able to set the block title to link to the menu item and also override the text.