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

WordPress Trac noreply at wordpress.org
Mon Jul 27 21:50:42 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:18 SergeyBiryukov]:

 > I think my point was that it's still possible to hook into the query
 even if there's a drop-in from another plugin in use (unless I'm missing
 something).

 There are ways and we've actually played with three different working
 solutions already, however, they are all pretty ugly or at least
 inconvenient. To the extent that plugin authors typically don't bother
 with them and just use the DB drop-in, creating the aforementioned
 bottleneck.

 With that being said, I understand that this issue might be perceived as
 relatively unimportant to some, and as we absolutely needed a fix for
 VersionPress we found one. If there's not enough demand from other plugin
 authors and/or WP users who run into issues because of conflicting
 plugins, I'm not going to push this further.

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


More information about the wp-trac mailing list