WordPress.org

Make WordPress Core

Changeset 15242


Ignore:
Timestamp:
06/13/10 06:20:51 (4 years ago)
Author:
nacin
Message:

Don't use deprecated functions. props koopersmith, fixes #13854.

File:
1 edited

Legend:

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

    r15201 r15242  
    39133913        if ( false !== strpos($id, '-') ) { 
    39143914            list( $id, $typenow ) = explode('-', $id, 2); 
    3915             if ( is_taxonomy($typenow) ) { 
     3915            if ( taxonomy_exists( $typenow ) ) { 
    39163916                $id = 'edit-tags'; 
    39173917                $taxnow = $typenow; 
Note: See TracChangeset for help on using the changeset viewer.