[wp-trac] [WordPress Trac] #28783: Notice on "get_instance_hash_key()"

WordPress Trac noreply at wordpress.org
Mon Jul 7 23:38:49 UTC 2014


#28783: Notice on "get_instance_hash_key()"
-------------------------+------------------------------
 Reporter:  juliobox     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:  3.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by westonruter):

 * keywords:   => has-patch


Comment:

 Good catch. For that matter, should we not just go ahead and use `wp_hash`
 as well?

 {{{#!diff
 - $hash = md5( AUTH_KEY . serialize( $instance ) );
 + $hash = wp_hash( serialize( $instance ) );
 }}}

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


More information about the wp-trac mailing list