Edit File by line
/home/barbar84/www/wp-conte.../plugins/akismet_.../views
File: start.php
<?php
[0] Fix | Delete
[1] Fix | Delete
//phpcs:disable VariableAnalysis
[2] Fix | Delete
// There are "undefined" variables here because they're defined in the code that includes this file as a template.
[3] Fix | Delete
[4] Fix | Delete
?>
[5] Fix | Delete
<div id="akismet-plugin-container">
[6] Fix | Delete
<div class="akismet-masthead">
[7] Fix | Delete
<div class="akismet-masthead__inside-container">
[8] Fix | Delete
<div class="akismet-masthead__logo-container">
[9] Fix | Delete
<img class="akismet-masthead__logo" src="<?php echo esc_url( plugins_url( '../_inc/img/logo-full-2x.png', __FILE__ ) ); ?>" alt="Akismet" />
[10] Fix | Delete
</div>
[11] Fix | Delete
</div>
[12] Fix | Delete
</div>
[13] Fix | Delete
<div class="akismet-lower">
[14] Fix | Delete
<?php Akismet_Admin::display_status();?>
[15] Fix | Delete
<div class="akismet-boxes">
[16] Fix | Delete
<?php
[17] Fix | Delete
[18] Fix | Delete
if ( Akismet::predefined_api_key() ) {
[19] Fix | Delete
Akismet::view( 'predefined' );
[20] Fix | Delete
} elseif ( $akismet_user && in_array( $akismet_user->status, array( 'active', 'active-dunning', 'no-sub', 'missing', 'cancelled', 'suspended' ) ) ) {
[21] Fix | Delete
Akismet::view( 'connect-jp', compact( 'akismet_user' ) );
[22] Fix | Delete
} else {
[23] Fix | Delete
Akismet::view( 'activate' );
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
?>
[27] Fix | Delete
</div>
[28] Fix | Delete
</div>
[29] Fix | Delete
</div>
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function