[wp-trac] [WordPress Trac] #42431: wpdb prepare - {} replaced with % if AUTH_SALT is defined as null or empty string

WordPress Trac noreply at wordpress.org
Fri Nov 3 13:51:16 UTC 2017


#42431: wpdb prepare - {} replaced with % if AUTH_SALT is defined as null or empty
string
--------------------------+------------------------------
 Reporter:  jsonfry       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  4.8.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by jsonfry):

 Also, the fallback to rand() doesn't work with type checking either as the
 3rd param for hash_hmac should be a string, not an int.

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


More information about the wp-trac mailing list