WordPress.org

Make WordPress Core

Ticket #12329: patch.txt

File patch.txt, 579 bytes (added by gfitzp, 4 years ago)

Diff of the wp-includes/widgets.php file for patching

Line 
1Index: wp-includes/widgets.php
2===================================================================
3--- wp-includes/widgets.php     (revision 13287)
4+++ wp-includes/widgets.php     (working copy)
5@@ -549,8 +549,8 @@
6                'name' => sprintf(__('Sidebar %d'), $i ),
7                'id' => "sidebar-$i",
8                'description' => '',
9-               'before_widget' => '<li id="%1$s" class="widget %2$s">',
10-               'after_widget' => "</li>\n",
11+               'before_widget' => '<ul><li id="%1$s" class="widget %2$s">',
12+               'after_widget' => "</li></ul>\n",
13                'before_title' => '<h2 class="widgettitle">',
14                'after_title' => "</h2>\n",
15        );