[wp-trac] [WordPress Trac] #9641: Comments not displaying correctly
in theme with custom callback
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 24 19:26:42 GMT 2009
#9641: Comments not displaying correctly in theme with custom callback
--------------------------+-------------------------------------------------
Reporter: zamoose | Owner: azaozz
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: JavaScript | Version: 2.8
Severity: major | Keywords:
--------------------------+-------------------------------------------------
I'm using the Busy Bee theme from WooThemes. Comment display used to work
in WP 2.7.x but is broken under WP 2.8.
The theme itself is only calling this in comments.php:
{{{
wp_list_comments('avatar_size=70&callback=custom_comment');
}}}
The custom_comment function simply calls this out in the header of each
comment:
{{{
<li class="comment wrap" id="comment-<?php comment_ID() ?>">
}}}
However, somewhere between the PHP output and the browser, a declaration
of style="" gets plunked into the li. Firefox in particular takes this to
mean "negate the display: property" so the comments simply don't show up.
I ''think'' the problem lies with source:/trunk/wp-includes/js/comment-
reply.js but I'm not 100% sure.
In any event, I can't display comments until this gets fixed, which is
pretty major, IMNSHO.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9641>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list