Skip to content

Commit

Permalink
Fix: Translate submit button string (same issue as in #57)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftner committed Nov 21, 2016
1 parent 54193ab commit efdedfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/AvatarAddMetaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function isValidMultiUpload(){
*/
protected function isValidBrowserUpload(){
return isset( $_REQUEST['html-upload'] )
and 'Upload' === $_POST['html-upload']
and __( 'Upload' ) === $_POST['html-upload']
and (
(
'user-edit' === get_current_screen()->base
Expand Down

0 comments on commit efdedfb

Please sign in to comment.