Unescaped parameter $query used in $wpdb->get_results($wpdb->prepare( $query, 0, self::MAX_POSTS ))\n$query assigned unsafely at line 243:\n $query = "SELECT wp_posts.ID, wp_posts.post_title, wp_posts.post_parent\n\t FROM {$wpdb->posts} AS wp_posts\n\t WHERE {$where_clause}\n\t AND NOT EXISTS (\n\t SELECT 1\n\t FROM {$wpdb->postmeta} AS mt1\n\t WHERE mt1.post_id = wp_posts.ID\n\t AND mt1.meta_key = 'isc_image_source_own'\n\t AND mt1.meta_value = '1'\n\t )\n\t AND (\n\t EXISTS (\n\t SELECT 1\n\t FROM {$wpdb->postmeta} AS wp_postmeta\n\t WHERE wp_postmeta.post_id = wp_posts.ID\n\t AND wp_postmeta.meta_key = 'isc_image_source'\n\t AND wp_postmeta.meta_value = ''\n\t )\n\t OR NOT EXISTS (\n\t SELECT 1\n\t FROM {$wpdb->postmeta} AS mt2\n\t WHERE mt2.post_id = wp_posts.ID\n\t AND mt2.meta_key = 'isc_image_source'\n\t )\n\t )\n\t ORDER BY wp_posts.ID DESC\n\t LIMIT %d, %d\n\t "\n$where_clause assigned unsafely at line 237:\n $where_clause .= " AND wp_posts.post_mime_type LIKE 'image/%'"\n$where_clause assigned unsafely at line 233:\n $where_clause = "wp_posts.post_type = 'attachment' AND wp_posts.post_status = 'inherit'"