[wp-trac] [WordPress Trac] #11622: switch to PDO::prepare when we require PHP 5.1

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 30 20:24:06 UTC 2011


#11622: switch to PDO::prepare when we require PHP 5.1
-------------------------+----------------------
 Reporter:  sirzooro     |       Owner:  ryan
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------
Changes (by scribu):

 * keywords:  needs-patch dev-feedback =>
 * status:  reopened => closed
 * resolution:   => wontfix


Comment:

 Problems with using [http://www.php.net/manual/en/pdo.prepare.php
 PDO:prepare()]:

 * requires a round-trip to the DB (this alone is a deal breaker)
 * is a PHP extension (i.e. not guaranteed to be installed)

 I think it's safe to say that this will be wontfix for a long, long time.

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


More information about the wp-trac mailing list