[wp-trac] [WordPress Trac] #37744: wpdb::prepare PHPDoc recommends bad PHP

WordPress Trac noreply at wordpress.org
Sat Aug 20 13:16:35 UTC 2016


#37744: wpdb::prepare PHPDoc recommends bad PHP
--------------------------+-----------------------------
 Reporter:  TJNowell      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.7
Component:  Database      |     Version:  4.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38289"]:
 {{{
 #!CommitTicketReference repository="" revision="38289"
 Docs: Correct usage examples for `wpdb::prepare()`, which should not be
 called statically.

 Props TJNowell.
 Fixes #37744.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37744#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list