590 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 4-5 years
  • Europe
  • Exclusive Author
  • Referred between 50 and 99 users
  • Bought between 100 and 499 items
CodeSwift says

The solution is simple, remove the $wpdb->prepare( ) part. Keep what’s inside.

So instead of…

$wpdb->get_col( $wpdb->prepare( 'SELECT blah blah' ) );

...it’s…

$wpdb->get_col( 'SELECT blah blah' );

There’s no need for the prepare since nothing in there is a user submitted data, no need for the security measure.

But contact me on email please. Since it’s not a WP theme from TF i’m just wondering about the code and is it just that part or more. You have nothing to worry about.

by
by
by
by
by
by