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

WordPress Trac noreply at wordpress.org
Mon Jul 23 17:33:29 UTC 2018


#44628: Repair DB rehashes password to md5
--------------------------+-----------------------------
 Reporter:  yani.iliev    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 How to replicate:

 Corrupt the database:
 {{{
 truncate $wpdb->options;
 insert into $wpdb->options (option_name, option_value) values('siteurl',
 'http://localhost');
 }}}

 Navigate to http://localhost/ and repair the database.

 Observe user_pass for all users in $wpdb->users it is now md5 hash.

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


More information about the wp-trac mailing list