mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-18 19:02:00 +00:00
Merge "Fix unescaped i18n message use in captcha label" into REL1_39
This commit is contained in:
commit
78d4e1b3ce
|
@ -86,8 +86,8 @@ class HTMLFancyCaptchaField extends HTMLFormField {
|
||||||
public function getLabel() {
|
public function getLabel() {
|
||||||
// slight abuse of what getLabel() should mean; $mLabel is used for the pre-label text
|
// slight abuse of what getLabel() should mean; $mLabel is used for the pre-label text
|
||||||
// as the actual label is always the same
|
// as the actual label is always the same
|
||||||
return $this->mParent->msg( 'captcha-label' )->text() . ' '
|
return $this->mParent->msg( 'captcha-label' )->escaped() . ' '
|
||||||
. $this->mParent->msg( 'fancycaptcha-captcha' )->text();
|
. $this->mParent->msg( 'fancycaptcha-captcha' )->escaped();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue