<?php //phpcs:disable VariableAnalysis // There are "undefined" variables here because they're defined in the code that includes this file as a template. $submit_classes_attr = 'akismet-button'; if ( isset( $classes ) && ( is_countable( $classes ) ? count( $classes ) : 0 ) > 0 ) { $submit_classes_attr = implode( ' ', $classes ); } ?> <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'; ?>"/> <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> </form>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
activate.php | File | 179 B | 0644 |
|
config.php | File | 14.94 KB | 0644 |
|
connect-jp.php | File | 4.97 KB | 0644 |
|
enter.php | File | 1.02 KB | 0644 |
|
get.php | File | 1017 B | 0644 |
|
logo.php | File | 770 B | 0644 |
|
notice.php | File | 15 KB | 0644 |
|
predefined.php | File | 312 B | 0644 |
|
setup.php | File | 337 B | 0644 |
|
start.php | File | 817 B | 0644 |
|
stats.php | File | 1.05 KB | 0644 |
|
title.php | File | 125 B | 0644 |
|