[wp-trac] [WordPress Trac] #44628: Repair DB rehashes password to md5

WordPress Trac noreply at wordpress.org
Tue Jan 14 10:39:53 UTC 2020


#44628: Repair DB rehashes password to md5
-------------------------------------+-----------------------------
 Reporter:  yani.iliev               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by bookdude13):

 Hi everyone! This is my first post, so let me know if I'm doing anything
 wrong.

 I tried to reproduce this using the steps above, except I did the commands
 directly in phpMyAdmin. This left me with a blank site, no db corruption.
 I then put
 {{{#!python
   define( 'WP_DEBUG', true );
 }}}
 in my wp-config.php file and tried repairing the database at
 http://localhost/wordpress-svn/src/wp-admin/maint/repair.php. The repairs
 didn't change the wp_users hashes. I also tried corrupting the wp_options
 data file directly with a few values, and this either caused the whole db
 server to crash or didn't make noticeable impacts. Repairing afterwards
 didn't change the hashes.

 It looks like the function that was causing the issue and that this patch
 addresses is only called with db version < 2541 (WP 1.5?). See wp-
 admin\includes\upgrade.php, lines 725-728. The current db version is
 around 47018.

 Tl;dr I couldn't reproduce on trunk, the repro steps should be updated,
 and future testing should be done w/ an older version of wordpress.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44628#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list