diff --git a/src/Uplink/Messages/Expired_Key.php b/src/Uplink/Messages/Expired_Key.php index bf7f1aa6..983ef0c8 100644 --- a/src/Uplink/Messages/Expired_Key.php +++ b/src/Uplink/Messages/Expired_Key.php @@ -52,25 +52,25 @@ public function get(): string { $message_content = apply_filters( 'stellarwp/uplink/' . Config::get_hook_prefix() . '/messages/expired_key', $message_content ); - $allowed_html = array( - 'a' => array( - 'href' => array(), - 'title' => array(), - 'class' => array() - ), - 'br' => array(), - 'em' => array(), - 'strong' => array(), - 'div' => array( - 'class' => array() - ), - 'p' => array( - 'class' => array() - ), - 'span' => array( - 'class' => array() - ), - ); + $allowed_html = [ + 'a' => [ + 'href' => [], + 'title' => [], + 'class' => [] + ], + 'br' => [], + 'em' => [], + 'strong' => [], + 'div' => [ + 'class' => [] + ], + 'p' => [ + 'class' => [] + ], + 'span' => [ + 'class' => [] + ], + ]; $message = '
'; $message .= wp_kses( $message_content, $allowed_html );