[wp-trac] [WordPress Trac] #18451: Make charset_collate a public method on $wpdb

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 16 20:14:45 UTC 2011


#18451: Make charset_collate a public method on $wpdb
---------------------------+------------------------------------
 Reporter:  simonwheatley  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Database       |    Version:
 Severity:  normal         |   Keywords:  has-patch dev-feedback
---------------------------+------------------------------------
 I suggest adding a public ```charset_collate``` method on ```$wpdb```. A
 small thing, but I'd reuse it all the time when adding tables in plugin
 code, which would save writing a lot of duplicate code.

 Patch attached.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18451>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list