should I be concerned with this code in a WordPress theme?

by 6 replies
7
I've been looking at WordPress themes to purchase and I have found a site that has some nice looking themes and also they have some free themes so that you can check out their quality. I checked out all of their free themes with themecheck.org and they all have this: should I avoid these themes? It seems that most WordPress themes have issues according to themecheck.org.

Security breaches : Use of variable functions


Line 284: $enqueue = new $field_class('','',$this);

Line 523: $validation = new $validate($field, $plugin_options[$field['id']], $options[$field['id']]);

Line 897: $render = new $field_class($field, $value, $this);
#website design #code #concerned #theme #wordpress
  • That code doesn't raise any red flags here, I'd look further into functions.php to see what's set in those variables.
    • [1] reply
    • Thanks for your response. what exactly would i be looking for in the functions.php?
  • The theme seems fine to me that code should be ok. What are you worried about the theme doing?

    Anne L
    • [1] reply
    • themecheck.org just gave it a bad rating and said that the code was a security breach.
  • Doesn't look like anything that should be alarming. You can always contact the site for an explanation on the code if that would ease your worries though.
  • Banned
    [DELETED]
    • [1] reply
    • The theme's just fine, code looks safe

Next Topics on Trending Feed

  • 7

    I've been looking at WordPress themes to purchase and I have found a site that has some nice looking themes and also they have some free themes so that you can check out their quality. I checked out all of their free themes with themecheck.org and they all have this: should I avoid these themes? It seems that most WordPress themes have issues according to themecheck.org. Security breaches : Use of variable functions