Changeset 514122
- Timestamp:
- 03/04/2012 04:50:26 AM (14 years ago)
- File:
-
- 1 edited
-
duplicate-user/trunk/duplicate-user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
duplicate-user/trunk/duplicate-user.php
r514120 r514122 5 5 Version: 0.1.0 6 6 Author: Arvind K. 7 Author URI: http://www.devarticles.in 7 8 Description: This plugin provides a way to delete duplicate users by ID, user_login or user_email. 8 9 9 An user-base cleaning script! In a case, thousands of users are entered by tempring with the basic wp_user table structure.. where ID was converted to just int field with no PRIMARY KEY or INDEX associated, date field (user_registered) was converted to decimal and user_email field was changed to accept only 20 characters (varchar 20) .. etc.. and thus thousands of records were entered through a script with duplicate email addresses, user_logins and even with duplicate IDs!10 An user-base cleaning script! In a case, thousands of users were entered by tempring with the basic wp_user table structure.. where ID field was changed to just int field with no PRIMARY KEY or INDEX associated, date field (user_registered) was converted to decimal and user_email field was changed to accept only 20 characters (varchar 20) .. etc.. and thus thousands of records were entered through a script with duplicate email addresses, user_logins and even with duplicate IDs! 10 11 11 Note: At the moment, this script takes care of ID, user_login and user_email fields only. One can easily extend it to check other fields as well. 12 Note: At the moment, this script takes care of ID, user_login and user_email fields only. One can easily extend it to check other fields as well. I will try to include an automatic field selection panel in the admin settings of this plugin. 12 13 */ 13 14
Note: See TracChangeset
for help on using the changeset viewer.