Support » Requests and Feedback » Combine wpdb query/prepare functions

  • Hi,

    Just a quick “feature request” I guess.

    We write custom plugins at work at the time and need various db queries run.. and it’s always the same pattern, prepare then run.

    Wouldn’t it make sense to combine the various wpdb query functions with the prepare method ?

    I mean once we’ve prepared the query, aren’t we just going to run it anyway? 🙂

    So we could have:




    food for thoughts..

    (and if these were the documented functions of wpdb that would probably teach plugin developers to always escape their queries)


  • The topic ‘Combine wpdb query/prepare functions’ is closed to new replies.