mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-09 23:00:27 +08:00
Refactoring
This commit is contained in:
parent
dea49b13b1
commit
acdfa23a81
25 changed files with 121 additions and 285 deletions
|
@ -13,7 +13,7 @@
|
|||
* Extension URL: https://mainwp.com/extension/ithemes-security/
|
||||
*/
|
||||
|
||||
namespace MainWP\Child;
|
||||
// phpcs:disable PSR1.Classes.ClassDeclaration -- use external code.
|
||||
|
||||
class MainWP_Child_IThemes_Security {
|
||||
public static $instance = null;
|
||||
|
@ -46,7 +46,7 @@ class MainWP_Child_IThemes_Security {
|
|||
'users_and_roles' => $this->get_available_admin_users_and_roles(),
|
||||
);
|
||||
} catch ( \Exception $e ) {
|
||||
error_log( $e->getMessage() );
|
||||
error_log( $e->getMessage() ); // phpcs:ignore -- debug mode only.
|
||||
}
|
||||
}
|
||||
return $information;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue