[wp-trac] [WordPress Trac] #29710: Add hooks to wpdb's insert(), update(), delete() and similar methods

WordPress Trac noreply at wordpress.org
Tue Jul 28 12:00:45 UTC 2015


#29710: Add hooks to wpdb's insert(), update(), delete() and similar methods
-------------------------+------------------------------
 Reporter:  borekb       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  2.5
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+------------------------------

Comment (by borekb):

 Replying to [comment:23 dd32]:
 > db dropins don't have to extend wpdb (although it's encouraged)

 Interesting, I didn't know that. Do you know of examples of db drop-ins
 that do not extend `wpdb`? And is this documented somewhere? (Just
 curious.)

 Overall, if the Adapter pattern can be used without issues then this
 ticket can probably be closed as it's a good enough solution. Thank you
 all for your input and suggestions.

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


More information about the wp-trac mailing list