activate.php
1 year ago
config.php
1 year ago
connect-jp.php
1 year ago
enter.php
2 years ago
get.php
1 year ago
logo.php
2 years ago
notice.php
1 year ago
predefined.php
1 year ago
setup.php
1 year ago
start.php
1 year ago
stats.php
2 years ago
title.php
6 years ago
get.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | //phpcs:disable VariableAnalysis |
| 4 | // There are "undefined" variables here because they're defined in the code that includes this file as a template. |
| 5 | |
| 6 | $submit_classes_attr = 'akismet-button'; |
| 7 | |
| 8 | if ( isset( $classes ) && ( is_countable( $classes ) ? count( $classes ) : 0 ) > 0 ) { |
| 9 | $submit_classes_attr = implode( ' ', $classes ); |
| 10 | } |
| 11 | ?> |
| 12 | |
| 13 | <form name="akismet_activate" action="https://akismet.com/get/" method="POST" target="_blank"> |
| 14 | <input type="hidden" name="passback_url" value="<?php echo esc_url( Akismet_Admin::get_page_url() ); ?>"/> |
| 15 | <input type="hidden" name="blog" value="<?php echo esc_url( get_option( 'home' ) ); ?>"/> |
| 16 | <input type="hidden" name="redirect" value="<?php echo isset( $redirect ) ? esc_attr( $redirect ) : 'plugin-signup'; ?>"/> |
| 17 | <button type="submit" class="<?php echo esc_attr( $submit_classes_attr ); ?>" value="<?php echo esc_attr( $text ); ?>"><?php echo esc_attr( $text ) . '<span class="screen-reader-text">' . esc_html__( '(opens in a new tab)', 'akismet' ) . '</span>'; ?></button> |
| 18 | </form> |
| 19 |