summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/akismet/views/get.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/akismet/views/get.php')
-rw-r--r--www/crm/wp-content/plugins/akismet/views/get.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/akismet/views/get.php b/www/crm/wp-content/plugins/akismet/views/get.php
new file mode 100644
index 00000000..b1abe0eb
--- /dev/null
+++ b/www/crm/wp-content/plugins/akismet/views/get.php
@@ -0,0 +1,12 @@
+<?php
+
+//phpcs:disable VariableAnalysis
+// There are "undefined" variables here because they're defined in the code that includes this file as a template.
+
+?>
+<form name="akismet_activate" action="https://akismet.com/get/" method="POST" target="_blank">
+ <input type="hidden" name="passback_url" value="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>"/>
+ <input type="hidden" name="blog" value="<?php echo esc_url( get_option( 'home' ) ); ?>"/>
+ <input type="hidden" name="redirect" value="<?php echo isset( $redirect ) ? $redirect : 'plugin-signup'; ?>"/>
+ <input type="submit" class="<?php echo isset( $classes ) && count( $classes ) > 0 ? implode( ' ', $classes ) : 'akismet-button';?>" value="<?php echo esc_attr( $text ); ?>"/>
+</form> \ No newline at end of file