Support » Plugin: Email Users » Small bug

  • Resolved brashell

    (@brashell)


    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Small bug’ is closed to new replies.