ZF-4977: SubmitButton labels aren't getting rendered
I upgraded to the release version of 1.7.0 after using the 1.7.0 RC and noticed a bug right away. SubmitButton labels weren't getting rendered.
It seems that something has changed in the way SubmitButtons are handled internally and the SubmitButton view helper needs to be updated. From the perspective of the SubmitButton view helper, the label is now stored in the $attribs['content'] field, not the $params['label'] field nor $value.
I made a change to line 54 in Zend/Dojo/View/Helper/SubmitButton.php that fixes the issue
$params['label'] = array_key_exists('content', $attribs) ? $attribs['content'] : $value;
The array_key_exists test is probably unnecessary since I noticed $attribs['content'] contains the name of the button if there is no label, but I like to pad my code for unforseen errors & future changes :)