WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (2)

@Denis-de-Bernardy6 years ago

comment:1 @ryan6 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.