Title: Small bug
Last modified: August 21, 2016

---

# Small bug

 *  Resolved [brashell](https://wordpress.org/support/users/brashell/)
 * (@brashell)
 * [12 years ago](https://wordpress.org/support/topic/small-bug-8/)
 * Hey there mate, great work you have going here. I modded it up quite a bit, but
   I noticed a bug in the User Settings page. After looking for WP_LIST (I assumed
   you were using it for the pagination and such) I found you were using mysql_real_escape_string
   which is no longer able to be used in wordpress. If you are running PHP5.5 it
   will go to MySQLi and the function won’t work, hence (Yes it was hens a second
   ago, I hate autocorrect) it not sorting and paginating. It needs to be switched
   to esc_sql which is the wpdb accepted equivalent. In file email_users_user_settings.
   php this will make it so it all goes back to normal, cheers mate, and great work
   🙂
 * [https://wordpress.org/plugins/email-users/](https://wordpress.org/plugins/email-users/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [12 years ago](https://wordpress.org/support/topic/small-bug-8/#post-4872710)
 * Fixed in 4.6.8 release (out today) – thanks for the heads up.

Viewing 1 replies (of 1 total)

The topic ‘Small bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-users_a0e0cf.svg)
 * [Email Users](https://wordpress.org/plugins/email-users/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-users/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-users/)
 * [Active Topics](https://wordpress.org/support/plugin/email-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-users/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/small-bug-8/#post-4872710)
 * Status: resolved