X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHtml.php;h=6977a69575eb3aa031f60cd318c9b4c9f847cd72;hb=580d6f42d9835e5e64477c7f69fcd06787e9297f;hp=1d45e6a504d27905d9cd3d4179d81046aac4ab88;hpb=0f19843c2602f3e1c28b455223c4c8b67a7d0ec6;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/Html.php b/includes/Html.php
index 1d45e6a504..6977a69575 100644
--- a/includes/Html.php
+++ b/includes/Html.php
@@ -422,6 +422,7 @@ class Html {
$ret = '';
$attribs = (array)$attribs;
foreach ( $attribs as $key => $value ) {
+ // Support intuitive array( 'checked' => true/false ) form
if ( $value === false || is_null( $value ) ) {
continue;
}
@@ -663,7 +664,7 @@ class Html {
}
/**
- * Convenience function to produce an "" element.
+ * Convenience function to produce a