[wp-trac] [WordPress Trac] #20088: Improve wp_list_comments() comment markup

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 21:57:14 UTC 2012


#20088: Improve wp_list_comments() comment markup
------------------------------------+--------------------
 Reporter:  lancewillett            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.5
Component:  Comments                |     Version:  3.3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+--------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.5


Comment:

 We need this to not change any existing themes. That means new arguments
 for wp_list_comments().

 Thoughts:

  * You can currently specify 'style' => div, ol, or ul. You should also be
 able to specify tags and wrappers to the point where you can re-create the
 markup in Twenty Twelve.

  * Repositioning the body inside a div might require a wrapper => false by
 default.

  * For pingbacks, you should be able to specify 'ping_style' => 'concise'
 or something along those lines.

  * We ''may'' be able to get away with converting <em class="comment-
 awaiting-moderation"></em><br /> to <p class="comment-awaiting-
 moderation"></p>. May.

 Beyond those rough guidelines put together in about 5 minutes, I'd just
 see what you can come up with.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20088#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list