Last active
November 16, 2024 01:05
-
-
Save kharissulistiyo/dc5bd9703a32d9b2e5f1d0fcfffff842 to your computer and use it in GitHub Desktop.
WordPress API: patch SQL Injection vulnerability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ($value as $k => $attr) { | |
$where .= $wpdb->prepare(" \n {$_or} ( list_attr_rel_" . $i . ".value = %d)", $attr); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment