diff options
author | Yury German <blueknight@gentoo.org> | 2022-06-15 12:23:54 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2022-06-15 12:23:54 -0400 |
commit | d70aabe9576a2aa12d55e8649f04c3a853de902a (patch) | |
tree | 31baa2d7c7bf8acddc5d5e307ad6b6dda6fc23c2 /plugins/akismet/views/get.php | |
parent | Openid-3.6.1 and jetpack-11.0 upgrade (diff) | |
download | blogs-gentoo-master.tar.gz blogs-gentoo-master.tar.bz2 blogs-gentoo-master.zip |
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/akismet/views/get.php')
-rw-r--r-- | plugins/akismet/views/get.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/akismet/views/get.php b/plugins/akismet/views/get.php index b1abe0eb..e9fa3f9a 100644 --- a/plugins/akismet/views/get.php +++ b/plugins/akismet/views/get.php @@ -2,11 +2,11 @@ //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 + <button type="submit" class="<?php echo isset( $classes ) && count( $classes ) > 0 ? esc_attr( implode( ' ', $classes ) ) : 'akismet-button'; ?>" 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> |