Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#11397 closed defect (bug) (fixed)

wp_cache_delete() is too early in update_meta() and delete_meta()

Reported by: Denis-de-Bernardy Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: General Keywords: has-patch
Focuses: Cc:


if something is hooked onto update_postmeta and fetches the old value, it ends up filling memcached with junk.

other similar hooks in WP are in the correct order.

Attachments (1)

11397.diff (1.2 KB) - added by Denis-de-Bernardy 8 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
8 years ago

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

(In [12373]) Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397

Note: See TracTickets for help on using tickets.