Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#9506 closed enhancement (fixed)

Clarify inline documentation for wpdb

Reported by: mdawaffe Owned by: mdawaffe
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: General Keywords: has-patch commit documentation
Focuses: Cc:


Attached clarifies some of the inline documentation for the wpdb class, in particular the syntax for prepare(), the new arguments for update() and insert(), and the (until now) undocumented OBJECT_K output format.

Attachments (1)

9506.diff (12.0 KB) - added by mdawaffe 6 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe6 years ago

comment:1 @mdawaffe6 years ago

Forgot to mention: also includes one small efficiency (and readability) improvement to wpdb::prepare().

comment:2 @ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10911]) phpdoc updates for wpdb. Props mdawaffe. fixes #9506

Note: See TracTickets for help on using tickets.