Warning fixes

git-svn-id: https://develop.svn.wordpress.org/trunk@9477 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-02 21:40:35 +00:00
parent c9718cf8e2
commit 61b65f4465
2 changed files with 5 additions and 4 deletions

View File

@@ -239,7 +239,7 @@ if ( $page_links )
<div class="col-wrap">
<?php if ( current_user_can('manage_categories') ) { ?>
<?php do_action('add_category_form_pre', $category); ?>
<?php $category = (object) array(); $category->parent = 0; do_action('add_category_form_pre', $category); ?>
<div class="form-wrap">
<h3><?php _e('Add Category'); ?></h3>