summaryrefslogtreecommitdiffstats
path: root/wp-content/plugins/akismet/views/logo.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/plugins/akismet/views/logo.php')
-rw-r--r--wp-content/plugins/akismet/views/logo.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/wp-content/plugins/akismet/views/logo.php b/wp-content/plugins/akismet/views/logo.php
new file mode 100644
index 0000000..661d0a1
--- /dev/null
+++ b/wp-content/plugins/akismet/views/logo.php
@@ -0,0 +1,13 @@
+<?php
+//phpcs:disable VariableAnalysis
+// There are "undefined" variables here because they're defined in the code that includes this file as a template.
+?>
+<div class="akismet-masthead__logo-container">
+ <?php if ( isset( $include_logo_link ) && $include_logo_link === true ) : ?>
+ <a href="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>" class="akismet-masthead__logo-link">
+ <?php endif; ?>
+ <img class="akismet-masthead__logo" src="<?php echo esc_url( plugins_url( '../_inc/img/akismet-refresh-logo@2x.png', __FILE__ ) ); ?>" srcset="<?php echo esc_url( plugins_url( '../_inc/img/akismet-refresh-logo.svg', __FILE__ ) ); ?>" alt="Akismet logo" />
+ <?php if ( isset( $include_logo_link ) && $include_logo_link === true ) : ?>
+ </a>
+ <?php endif; ?>
+</div>