[wp-testers] Re: Invalid XHTML Code from wp_list_cats

Ajay D'Souza ajaydsouza at gmail.com
Thu Apr 20 16:20:47 GMT 2006


I guess it was fixed in this update. Blog validates now.


From: "Mike Little" <mike at zed1.com>
> Subject: Re: [wp-testers] Re: Invalid XHTML Code from wp_list_cats
> To: wp-testers at lists.automattic.com
> Message-ID:
>         <7235ce780604191552p767c2f85r7de7093687d65bab at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 4/19/06, Ajay D'Souza <ajaydsouza at gmail.com> wrote:
> > How do I apply the  diff file?
> >
>
> In this case, Ajay, the patch is so simple that you can make the change by
> hand.
>
> Diff
> Modified: trunk/wp-includes/classes.php (3714 => 3715)
> --- trunk/wp-includes/classes.php       2006-04-19 02:32:12 UTC (rev 3714)
> +++ trunk/wp-includes/classes.php       2006-04-19 02:33:47 UTC (rev 3715)
> @@ -644,7 +644,7 @@
>                 return $output;
>         }
>
> -       function end_el($output, $page, $depth) {
> +       function end_el($output, $page, $depth, $args) {
>                 if ( 'list' != $args['style'] )
>                         return $output;
>
>
> Load the file classes.php go to line 644 and make the change above.
> Which is to say, add $args to the function definition.
>
> Mike
> --
> Mike Little
> http://zed1.com/


--
-------------------------------------------------
Happily bloggin' away @ http://www.ajaydsouza.com
Download themes, screensavers and more from http://www.megathemes.com
All about Sherlock Holmes at http://mysherlockholmes.uni.cc


More information about the wp-testers mailing list