[wp-trac] [WordPress Trac] #14519: Random Twenty Ten Default Header

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 4 01:01:12 UTC 2010


#14519: Random Twenty Ten Default Header
-------------------------+--------------------------------------------------
 Reporter:  nickmomrik   |        Owner:                    
     Type:  enhancement  |       Status:  reopened          
 Priority:  normal       |    Milestone:  WordPress.org site
Component:  Themes       |      Version:                    
 Severity:  normal       |   Resolution:                    
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Changes (by nacin):

  * keywords:  => has-patch
  * milestone:  Awaiting Review => WordPress.org site


Comment:

 Replying to [comment:6 mdawaffe]:
 > Other way around.  crc32 is an old school hashing algorithm, not a
 random number generator.  The code hashes the site_url(), then grabs a
 header image based on the hash.  Same header for every page load.
 >
 > Caveat: the current patch doesn't set a scheme in the site_url() call so
 you'll have a different (but consistent) header for each scheme (http,
 https).

 Clever. Didn't notice that. +1

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14519#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list