Skip to content

Commit

Permalink
Update core/CF7_Antispam_Service.php
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo authored Jan 7, 2024
1 parent 7dded29 commit 0a6ee2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CF7_Antispam_Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function display( $action = '' ) {
// Display the form
echo '<div class="wrap">';
echo '<form method="post" action="">';
echo sprintf( '<input type="submit" name="cf7a_submit" class="button button-primary" value="%s">', $checked ? __( 'Disable', 'cf7-antispam' ) : __( 'Enable', 'cf7-antispam' ) );
printf( '<input type="submit" name="cf7a_submit" class="button button-primary" value="%s">', $checked ? __( 'Disable', 'cf7-antispam' ) : __( 'Enable', 'cf7-antispam' ) );
if ( $checked ) {
echo '<a class="button" href="' . esc_url_raw( admin_url( 'admin.php?page=cf7-antispam' ) ) . '">Settings Page</a>';
}
Expand Down

0 comments on commit 0a6ee2a

Please sign in to comment.