WordPress.org

Make WordPress Core

Changeset 12173


Ignore:
Timestamp:
11/12/2009 02:43:15 PM (9 years ago)
Author:
ryan
Message:

Fix argument order. Props mdawaffe. fixes #11125

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/meta.php

    r12042 r12173  
    7171    }
    7272
    73     do_action( "update_{$meta_type}_meta", $object_id, $meta_key, $meta_value, $meta_id );
     73    do_action( "update_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $meta_value );
    7474
    7575    $wpdb->update( $table, $data, $where );
    7676    wp_cache_delete($object_id, $meta_type . '_meta');
    7777
    78     do_action( "updated_{$meta_type}_meta", $object_id, $meta_key, $meta_value, $meta_id );
     78    do_action( "updated_{$meta_type}_meta", $meta_id, $object_id, $meta_key, $meta_value );
    7979
    8080    return true;
     
    116116    wp_cache_delete($object_id, $meta_type . '_meta');
    117117
    118     do_action( "deleted_{$meta_type}_meta", $object_id, $meta_key, $meta_value, $meta_ids );
     118    do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $meta_value );
    119119
    120120    return true;
Note: See TracChangeset for help on using the changeset viewer.