Changeset 4595
- Timestamp:
- 12/04/2006 12:48:03 AM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
admin-functions.php (modified) (2 diffs)
-
edit-category-form.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4583 r4595 717 717 718 718 if ( $categories ) { 719 ob_start(); 719 720 foreach ( $categories as $category ) { 720 721 if ( $category->category_parent == $parent) { … … 723 724 } 724 725 } 726 $output = ob_get_contents(); 727 ob_end_clean(); 728 729 $output = apply_filters('cat_rows', $output); 730 731 echo $output; 725 732 } else { 726 733 return false; -
trunk/wp-admin/edit-category-form.php
r4583 r4595 6 6 $action = 'editedcat'; 7 7 $nonce_action = 'update-category_' . $cat_ID; 8 do_action('edit_category_form_pre', $category); 8 9 } else { 9 10 $heading = __('Add Category'); … … 12 13 $action = 'addcat'; 13 14 $nonce_action = 'add-category'; 15 do_action('add_category_form_pre', $category); 14 16 } 15 17 ?>
Note: See TracChangeset
for help on using the changeset viewer.