[wp-trac] [WordPress Trac] #13310: Extend option_name to varchar(255)

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 7 15:58:58 UTC 2010


#13310: Extend option_name to varchar(255)
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  ryan                 
     Type:  enhancement  |      Status:  new                  
 Priority:  normal       |   Milestone:  Awaiting Review      
Component:  Database     |     Version:                       
 Severity:  normal       |    Keywords:  has-patch 2nd-opinion
-------------------------+--------------------------------------------------

Comment(by chrisbliss18):

 This isn't a bad idea. Especially the specific length.

 The get_site_option function uses the options table when the site isn't
 multisite and uses the sitemeta table when it is multisite. This
 translates into a maximum name size of 64 characters (length of
 option_name) for site option storage for non-multisite and 255 characters
 (length of meta_key) for multisite.

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


More information about the wp-trac mailing list