Make WordPress Core


Ignore:
Timestamp:
12/05/2007 12:29:05 AM (18 years ago)
Author:
ryan
Message:

Remove unused variables. Props DD32. fixes #5418

File:
1 edited

Legend:

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

    r6299 r6354  
    4141        $edit = "<a href='categories.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>".__( 'Edit' )."</a></td>";
    4242        $default_cat_id = (int) get_option( 'default_category' );
    43         $default_link_cat_id = (int) get_option( 'default_link_category' );
    4443
    4544        if ( $category->term_id != $default_cat_id )
     
    9190    $output = "<tr id='link-cat-$category->term_id'$class>
    9291        <th scope='row' style='text-align: center'>$category->term_id</th>
    93         <td>" . ( $name_override ? $name_override : $pad . ' ' . $category->name ) . "</td>
     92        <td>" . ( $name_override ? $name_override : $category->name ) . "</td>
    9493        <td>$category->description</td>
    9594        <td align='center'>$count</td>
     
    126125
    127126function get_nested_categories( $default = 0, $parent = 0 ) {
    128     global $post_ID, $mode, $wpdb, $checked_categories;
     127    global $post_ID, $wpdb, $checked_categories;
    129128
    130129    if ( empty($checked_categories) ) {
     
    391390
    392391function list_meta( $meta ) {
    393     global $post_ID;
    394392    // Exit if no meta
    395393    if (!$meta ) {
     
    434432    }
    435433
    436     $key_js = js_escape( $entry['meta_key'] );
    437434    $entry['meta_key']   = attribute_escape($entry['meta_key']);
    438435    $entry['meta_value'] = attribute_escape($entry['meta_value']);
Note: See TracChangeset for help on using the changeset viewer.