summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LinkAttributes')
-rw-r--r--LinkAttributes/LinkAttributes.body.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/LinkAttributes/LinkAttributes.body.php b/LinkAttributes/LinkAttributes.body.php
index da3ba368..9dc05195 100644
--- a/LinkAttributes/LinkAttributes.body.php
+++ b/LinkAttributes/LinkAttributes.body.php
@@ -23,7 +23,7 @@ class LinkAttributes {
$pair = explode( '=', $a );
/* Only go ahead if we have a aaa=bbb pattern, and aaa i an allowed attribute */
- if ( isset( $pair[1] ) && in_array( $pair[0], self::attrsAllowed ) ) {
+ if ( isset( $pair[1] ) && in_array( $pair[0], static::attrsAllowed ) ) {
/* Add to existing attribute, or create a new */
if ( isset( $attribs[$pair[0]] ) ) {