WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2007 09:41:04 AM (15 years ago)
Author:
ryan
Message:

attribute_escape()s and int casts. see #4333

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/taxonomy.php

    r5542 r5543  
    1111function get_category_to_edit( $id ) {
    1212    $category = get_category( $id );
     13
     14    $category->term_id = (int) $category->term_id;
     15    $category->parent = (int) $category->parent;
    1316
    1417    return $category;
Note: See TracChangeset for help on using the changeset viewer.