|Reported by:||TobiasBg||Owned by:|
According to ryan, it has been modelled after $wpdb->prepare(), and therefore uses a custom foreach loop with an if-check in it.
I suggest to instead model it after stripslashes_deep() and urlencode_deep() to simplify the function and make it better readable.
The attached patch also makes it clearer that this function works in a recursive manner.
Change History (14)
comment:3 SergeyBiryukov — 4 months ago
- Keywords commit added
- Milestone changed from Awaiting Review to 3.8