Make WordPress Core


Ignore:
Timestamp:
11/02/2008 09:40:35 PM (18 years ago)
Author:
ryan
Message:

Warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r9363 r9477  
    240240
    241241<?php if ( current_user_can('manage_categories') ) { ?>
    242 <?php do_action('add_category_form_pre', $category); ?>
     242<?php $category = (object) array(); $category->parent = 0; do_action('add_category_form_pre', $category); ?>
    243243
    244244<div class="form-wrap">
Note: See TracChangeset for help on using the changeset viewer.