diff options
authorNathaniel2011-10-24 14:30:36 +0900
committerNathaniel2011-10-24 14:30:36 +0900
commitd57f6e198af0ebbfc87b97009fa06bae00d41968 (patch)
parent16694bb8bb5482c0cc61c8138c4c56da22868279 (diff)
Issue #1314396 by rocket_nova: Fixed Documentation for theme_links() should say that Attributes class must be an array.
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/ b/includes/
index bea87c0..7fad5f3 100644
--- a/includes/
+++ b/includes/
@@ -1523,7 +1523,8 @@ function theme_link($variables) {
* - html: (optional) Whether or not 'title' is HTML. If set, the title
* will not be passed through check_plain().
* - attributes: (optional) Attributes for the anchor, or for the <span> tag
- * used in its place if no 'href' is supplied.
+ * used in its place if no 'href' is supplied. If element 'class' is
+ * included, it must be an array of one or more class names.
* If the 'href' element is supplied, the entire link array is passed to l()
* as its $options parameter.
* - attributes: A keyed array of attributes for the UL containing the