Refactoring

This commit is contained in:
thanghv 2020-05-22 18:53:57 +07:00
parent 052541961f
commit 79ffd5e76e
21 changed files with 2005 additions and 1954 deletions

View file

@ -1171,7 +1171,7 @@ class MainWP_Child_IThemes_Security {
if ( is_callable( 'wp_roles' ) ) {
$roles = wp_roles();
} else {
$roles = new WP_Roles();
$roles = new \WP_Roles();
}
$available_roles = array();