summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2022-01-23 18:37:36 -0500
committerYury German <blueknight@gentoo.org>2022-01-23 18:37:36 -0500
commitf18b23a3a9378fb0a98856d436aa9ebf94e47429 (patch)
treee418433e22854ebd2d77eaa869d5d0470a973317 /plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php
parentAdd classic-editor 1.5 (diff)
downloadblogs-gentoo-f18b23a3a9378fb0a98856d436aa9ebf94e47429.tar.gz
blogs-gentoo-f18b23a3a9378fb0a98856d436aa9ebf94e47429.tar.bz2
blogs-gentoo-f18b23a3a9378fb0a98856d436aa9ebf94e47429.zip
Updating Classic Editor, Google Authenticatior, Jetpack, Public Post Preview, Table of Contents, Wordpress Importer
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php')
-rw-r--r--plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php b/plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php
new file mode 100644
index 00000000..6d9aba31
--- /dev/null
+++ b/plugins/jetpack/modules/masterbar/inline-help/inline-help-template.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Inline Help FAB icon template.
+ *
+ * @package automattic/jetpack
+ */
+
+// phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
+?>
+
+<div class="a8c-faux-inline-help">
+ <a class="a8c-faux-inline-help__button" href="<?php echo esc_url( $args['href'] ); ?>" target="_blank" rel="noopener noreferrer" title="<?php echo esc_attr__( 'Help', 'jetpack' ); ?>">
+ <?php echo wp_kses( $args['icon'], $args['svg_allowed'] ); ?>
+ </a>
+</div>