Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r6089 r6194  
    3939        $edit = "<a href='categories.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>".__( 'Edit' )."</a></td>";
    4040        $default_cat_id = (int) get_option( 'default_category' );
     41        $default_link_cat_id = (int) get_option( 'default_link_category' );
    4142
    4243        if ( $category->term_id != $default_cat_id )
     
    494495                $current = '';
    495496
    496             echo "\n\t<option value='$item->ID'$current>$pad $item->post_title</option>";
     497            echo "\n\t<option value='$item->ID'$current>$pad " . wp_specialchars($item->post_title) . "</option>";
    497498            parent_dropdown( $default, $item->ID, $level +1 );
    498499        }
Note: See TracChangeset for help on using the changeset viewer.