[wp-trac] [WordPress Trac] #11615: Avoiding the options table when retrieving a user option

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 23:43:35 UTC 2010


#11615: Avoiding the options table when retrieving a user option
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:                        
     Type:  enhancement   |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  Optimization  |     Version:  2.9.1                 
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by nacin):

 Replying to [comment:2 hakre]:
 > Didn't ryan said that the blogid will be removed from the database table
 anyway?
 I imagine it'll be removed, but that's unrelated here. The per-blog
 setting is stored by taking the user meta key and prepending the wpdb
 prefix. So, it first checks for wp_use_ssl in wp_usermeta, then use_ssl in
 wp_usermeta, then use_ssl in wp_options.

 The suggestion here is to get rid of the wp_options check when we don't
 need it. The bigger idea, as ryan had suggested, is to switch over to a
 function that doesn't check wp_options at all (at least by default) and
 only checks usermeta for blog-level and user-level values.

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


More information about the wp-trac mailing list