Recent testing of a new community theme for BuddyPress has produced this warning:
WARNING: Found /.exec in the file functions.php. PHP sytem calls should be disabled by server admins anyway!
The line in functions.php reads:
var digits = /(.*?)rgb((\d+), (\d+), (\d+))/.exec(color);
Is it possible to confirm this as an erroneous result?
- The topic ‘[Plugin: Theme-Check] Invaild warning: found / .exec()’ is closed to new replies.