";
+ $allowed_tags = [
+ 'svg' => [
+ 'class' => true,
+ 'width' => true,
+ 'height' => true,
+ 'viewBox' => true,
+ 'fill' => true,
+ 'xmlns' => true,
+ ],
+ 'path' => [
+ 'd' => true,
+ 'fill' => true,
+ ],
+ ];
+ echo wp_kses($this->pccLogo(), $allowed_tags);
+ echo '
';
}
// Call the parent method to output the post title
@@ -28,7 +42,7 @@ public function column_title($post)
// Close the div container if it was opened
if ($this->isLinkedPost($post)) {
- echo "
";
+ echo '
';
}
}
diff --git a/app/RestController.php b/app/RestController.php
index 0832c97..926aed9 100644
--- a/app/RestController.php
+++ b/app/RestController.php
@@ -12,7 +12,6 @@
use function esc_html__;
use const PCC_ACCESS_TOKEN_OPTION_KEY;
-use const 'pantheon-content-publisher-for-wordpress';
/**
* REST controller class.
diff --git a/app/Settings.php b/app/Settings.php
index 4164d43..ae39708 100644
--- a/app/Settings.php
+++ b/app/Settings.php
@@ -18,7 +18,6 @@
use function wp_strip_all_tags;
use const PCC_CONTENT_META_KEY;
-use const 'pantheon-content-publisher-for-wordpress';
use const PCC_INTEGRATION_POST_TYPE_OPTION_KEY;
use const PCC_PLUGIN_DIR;
use const PCC_PLUGIN_DIR_URL;
From 73774d88a2b5392232c665a78e8c74f7a67cb64b Mon Sep 17 00:00:00 2001
From: Al N