Actually ereg functions are deprecated but still usuable. So you have 2 possibilities :
- either silent the warnings ( error_reporting(0); )
- or change every (about 25) ereg with preg ; for example
./plugins/PHPDevShell/scripts/user-admin/user-admin-list.php (line 92):
$extra_role_constant = ereg_replace(' ', ' ', $extra_role_db_array['user_role_name']);
replace by
$extra_role_constant = preg_replace('/ /', ' ', $extra_role_db_array['user_role_name']);
not the syntax is slightly different, the pattern in preg_replace is surrounded by slashes.
greg
Actually ereg functions are deprecated but still usuable. So you have 2 possibilities :
- either silent the warnings ( error_reporting(0); )
- or change every (about 25) ereg with preg ; for example
./plugins/ PHPDevShell/ scripts/ user-admin/ user-admin- list.php (line 92):
$extra_ role_constant = ereg_replace(' ', ' ', $extra_ role_db_ array[' user_role_ name']) ;
replace by
$extra_ role_constant = preg_replace('/ /', ' ', $extra_ role_db_ array[' user_role_ name']) ;
not the syntax is slightly different, the pattern in preg_replace is surrounded by slashes.
greg