From efd69e2e80446c005cd0ff6c36eaa3f24f51864c Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 28 Feb 2016 12:54:14 +0100 Subject: [PATCH] Fix case of id on EditPage for label Avoids validation error: The for attribute of the label element must refer to a non-hidden form control. Change-Id: I9501fda9ca1dbff3db530f5d9e0c2504b94b0ff3 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index b5d0a7b017..c6636e4d19 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2540,7 +2540,7 @@ class EditPage { Xml::openElement( 'div', [ 'id' => 'antispam-container', 'style' => 'display: none;' ] ) . Html::rawElement( 'label', - [ 'for' => 'wpAntiSpam' ], + [ 'for' => 'wpAntispam' ], wfMessage( 'simpleantispam-label' )->parse() ) . Xml::element( -- 2.20.1