Plugin Directory

Changeset 176154


Ignore:
Timestamp:
11/23/2009 09:23:10 AM (16 years ago)
Author:
elebail
Message:

Fix an error on update tag method.

Location:
wp-category-meta
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-category-meta/trunk/readme.txt

    r175529 r176154  
    11=== Category Meta plugin ===
    2 Contributors: Eric Le Bail
     2Contributors: Eric Le Bail, Tom Ransom
    33Donate link: #
    44Tags: category,meta,category meta,admin,plugin
    55Requires at least: 2.6
    66Tested up to: 2.8.4
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88
    99Add the ability to attach meta data to the wordpress categories.
     
    1919
    2020== Update Log ==
     21
     221.0.3 : Fix an error on the meta update method thanks to Tom Ransom for sending the fix.
    2123
    22241.0.2 : Debug when no meta is set.
  • wp-category-meta/trunk/wp-category-meta.php

    r175529 r176154  
    44 * Plugin URI: #
    55 * Description: Add the ability to attach meta to the Wordpress categories
    6  * Version: 1.0.2
     6 * Version: 1.0.3
    77 * Author: Eric Le Bail
    88 * Author URI: #
     
    315315
    316316    if ( ! $wpdb->get_var( $wpdb->prepare( "SELECT meta_key FROM $wptm_table_name WHERE meta_key = %s AND terms_id = %d", $meta_key, $terms_id ) ) ) {
    317         return add_post_meta($terms_id, $meta_key, $meta_value);
     317        return add_terms_meta($terms_id, $meta_key, $meta_value);
    318318    }
    319319
Note: See TracChangeset for help on using the changeset viewer.