Make WordPress Core


Ignore:
Timestamp:
11/09/2015 03:35:56 AM (9 years ago)
Author:
boonebgorges
Message:

When deleting a term, delete its metadata as well.

Props barryceelen.
Fixes #34626.

File:
1 edited

Legend:

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

    r35170 r35585  
    559559 * @global wpdb $wpdb WordPress database abstraction object.
    560560 *
    561  * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)
     561 * @param string $meta_type Type of object metadata is for (e.g., comment, post, meta, or user).
    562562 * @param int    $meta_id   ID for a specific meta row
    563563 * @return object|false Meta object or false.
     
    693693 * @global wpdb $wpdb WordPress database abstraction object.
    694694 *
    695  * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)
     695 * @param string $meta_type Type of object metadata is for (e.g., comment, post, term, or user).
    696696 * @param int    $meta_id   ID for a specific meta row
    697697 * @return bool True on successful delete, false on failure.
Note: See TracChangeset for help on using the changeset viewer.