Unescaped parameter $regularProductsSql used in $wpdb->get_results($regularProductsSql)\n$regularProductsSql assigned unsafely at line 111:\n $regularProductsSql .= \n "where 1\n and (p.post_parent = 0 or p.post_parent is null)\n and p.ID not in ($ignoreIdsForMySql)\n and p.post_status = 'publish'\n group by p.ID"\n$ignoreIdsForMySql assigned unsafely at line 90:\n $ignoreIdsForMySql = implode(",", $ignoreIds)\n$ignoreIds assigned unsafely at line 86:\n $ignoreIds[] = $post->post_id\n$post->post_id used without escaping.
Unescaped parameter $variationsSql used in $wpdb->get_results($variationsSql)\n$variationsSql assigned unsafely at line 73:\n $variationsSql .= "\n where 1\n AND p.post_parent <> 0\n and p.ID not in ($ignoreIdsForMySql)\n and p.post_status = 'publish'\n group by p.post_parent\n "\n$ignoreIdsForMySql assigned unsafely at line 48:\n $ignoreIdsForMySql = implode(",", $ignoreIds)\n$ignoreIds used without escaping.
Affected Plugins
Plugins that have instances of this rule violation