[wp-trac] [WordPress Trac] #10864: Add replace method to wpdb

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 15:44:44 UTC 2010


#10864: Add replace method to wpdb
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:  ryan                   
     Type:  enhancement    |      Status:  new                    
 Priority:  normal         |   Milestone:  3.0                    
Component:  Database       |     Version:                         
 Severity:  normal         |    Keywords:  has-patch needs-testing
---------------------------+------------------------------------------------

Comment(by aaroncampbell):

 10864.001.2.diff was a mistake, so it's the same as 10864.001.diff, which
 is just a refresh of the original patch to match the current trunk.

 I also added 10864.002.diff which includes the sanity checks that hakre
 wants.  I'm still of the opinion that they are pointless.  The method
 should be considered private (even though we can't use the private keyword
 yet), and only used from wpdb methods.

 However, it's not a huge deal either way.

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


More information about the wp-trac mailing list