From 36fe99d0698ac3421a21f51d93439487ffa9542e Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 16 Dec 2007 21:40:36 +0000 Subject: [PATCH] Invalid HTML in nested category checkbox list. Also cleans up source formatting a bit. Fixes #5462. Hat tip: 082net. git-svn-id: https://develop.svn.wordpress.org/trunk@6392 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index c3983fe918..8d699d5502 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -159,13 +159,14 @@ function get_nested_categories( $default = 0, $parent = 0 ) { function write_nested_categories( $categories ) { foreach ( $categories as $category ) { - echo '
  • "; + echo "\n", '
  • '; if ( $category['children'] ) { - echo ""; } + echo '
  • '; } }