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

Dan Milward dan at instinct.co.nz
Thu Apr 20 03:26:29 GMT 2006


I just tried installing the latest build and nothing displays:
http://www.instinct.co.nz/alpha/

All the permissions are correct (i've done this a million times), I'm 
totally stumped.

Ciao,

Dan

Mike Little wrote:
> 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/
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>   

-- 
Instinct Entertainment Limited
Level 3, Education House, 178 Willis Street
PO Box 12-519, Wellington, New Zealand
Ph. 64-4-385 8082
Mobile. 021-449 901
dan at instinct.co.nz
http://www.instinct.co.nz



More information about the wp-testers mailing list