CoreFiles by mySites.guru
get.php18 lines, 1,017 bytes, from wordpress-6.3.zip
Raw History Compare with 6.2.16
md5
c6e34bda15f5683ff5f3b385749a0959
sha1
189f28b3dcc87bd6cc930d2db4153fc2a61ae1a6
sha256
0b120a352325ad32f59dcfb288a4e6dd4f5c640810c166ff0a7897d10c8781e9
<?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>

The same content is in 112 releases, WordPress 6.3-beta1 to 6.7.2-RC1. See them all, or every version of this file.