WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#9641 closed defect (bug) (wontfix)

Comments not displaying correctly in theme with custom callback

Reported by: zamoose Owned by: azaozz
Milestone: Priority: high
Severity: major Version: 2.8
Component: JavaScript Keywords:
Focuses: Cc:
PR Number:

Description

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.

Change History (1)

#1 @Denis-de-Bernardy
11 years ago

  • Milestone 2.8 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

callback=custom_comment

please highlight this to the theme author. especially given that it's a paid-for theme.

style="" doesn't negate anything in FF or any other browser.

Note: See TracTickets for help on using tickets.