components/Roles/Roles.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 371-377 (lines=7) @@
                                 | 
                            
                                                            
                                    | 368 | 
                                     | 
                                     | 
                                
                                                            
                                    | 369 | 
                                     | 
                                            $role_caps = array();  | 
                                
                                                            
                                    | 370 | 
                                     | 
                                     | 
                                
                                                            
                                    | 371 | 
                                     | 
                                            foreach ( $wp_roles->role_objects as $key => $role ) { | 
                                
                                                            
                                    | 372 | 
                                     | 
                                                if ( is_array( $role->capabilities ) ) { | 
                                
                                                            
                                    | 373 | 
                                     | 
                                                    foreach ( $role->capabilities as $cap => $grant ) { | 
                                
                                                            
                                    | 374 | 
                                     | 
                                                        $role_caps[ $cap ] = $cap;  | 
                                
                                                            
                                    | 375 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 376 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 377 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 378 | 
                                     | 
                                     | 
                                
                                                            
                                    | 379 | 
                                     | 
                                            $role_caps = array_unique( $role_caps );  | 
                                
                                                            
                                    | 380 | 
                                     | 
                                     | 
                                
                                                                        
                 
                                                            
                    
classes/fields/pick.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 2054-2060 (lines=7) @@
                                 | 
                            
                                                            
                                    | 2051 | 
                                     | 
                                     | 
                                
                                                            
                                    | 2052 | 
                                     | 
                                            $role_caps = array();  | 
                                
                                                            
                                    | 2053 | 
                                     | 
                                     | 
                                
                                                            
                                    | 2054 | 
                                     | 
                                            foreach ( $wp_roles->role_objects as $key => $role ) { | 
                                
                                                            
                                    | 2055 | 
                                     | 
                                                if ( is_array( $role->capabilities ) ) { | 
                                
                                                            
                                    | 2056 | 
                                     | 
                                                    foreach ( $role->capabilities as $cap => $grant ) { | 
                                
                                                            
                                    | 2057 | 
                                     | 
                                                        $role_caps[ $cap ] = $cap;  | 
                                
                                                            
                                    | 2058 | 
                                     | 
                                                    }  | 
                                
                                                            
                                    | 2059 | 
                                     | 
                                                }  | 
                                
                                                            
                                    | 2060 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 2061 | 
                                     | 
                                     | 
                                
                                                            
                                    | 2062 | 
                                     | 
                                            $role_caps = array_unique( $role_caps );  | 
                                
                                                            
                                    | 2063 | 
                                     | 
                                     |