[CodeFactor] Apply fixes to commit 2d97705

[ci skip] [skip ci]
This commit is contained in:
codefactor-io 2020-04-08 16:06:07 +00:00
parent 2d97705de6
commit fd62843171

View file

@ -9,8 +9,7 @@
* *
* The code is used for the MainWP Wordfence Extension * The code is used for the MainWP Wordfence Extension
* Extension URL: https://mainwp.com/extension/wordfence/ * Extension URL: https://mainwp.com/extension/wordfence/
* */
*/
class MainWP_Child_Wordfence { class MainWP_Child_Wordfence {
public static $instance = null; public static $instance = null;
@ -2403,7 +2402,7 @@ class MainWP_Child_Wordfence {
</tbody> </tbody>
</table> </table>
<?php else : ?> <?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">
<div class="wf-block-header-content"> <div class="wf-block-header-content">
<div class="wf-block-title"> <div class="wf-block-title">