Merge pull request #89 from mainwp/bogdan01-cf-autofix

Apply fixes from CodeFactor
This commit is contained in:
Bogdan Rapaić 2020-04-08 18:07:39 +02:00 committed by GitHub
commit 103c6080cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,7 @@
*
* The code is used for the MainWP Wordfence Extension
* Extension URL: https://mainwp.com/extension/wordfence/
*
*/
*/
class MainWP_Child_Wordfence {
public static $instance = null;
@ -2403,7 +2402,7 @@ class MainWP_Child_Wordfence {
</tbody>
</table>
<?php else : ?>
<div class="wf-block <?php echo ( wfPersistenceController::shared()->isActive( $key ) ? ' wf-active' : '' ) . ( $hasFailingTest ? ' wf-diagnostic-fail' : '' ) ?>" data-persistence-key="<?php echo esc_attr( $key ); ?>">
<div class="wf-block <?php echo ( wfPersistenceController::shared()->isActive( $key ) ? ' wf-active' : '' ) . ( $hasFailingTest ? ' wf-diagnostic-fail' : '' ); ?>" data-persistence-key="<?php echo esc_attr( $key ); ?>">
<div class="wf-block-header">
<div class="wf-block-header-content">
<div class="wf-block-title">