mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Refactoring
This commit is contained in:
parent
052541961f
commit
79ffd5e76e
21 changed files with 2005 additions and 1954 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue