Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 13 years ago

Last modified 10 years ago

#3009 closed enhancement (fixed)

bp-activity-comments Vs. wp-comments

Reported by: hnla Owned by: hnla
Priority: normal Milestone: 1.6
Component: Templates Version: 1.5
Severity: normal Keywords:
Cc:

Description

In reference to this thread:

http://buddypress.org/community/groups/frontend-development-theming/forum/topic/bp-activity-comments-vs-wp-comments/

I'm proposing a quick fix short term solution for changing activity comments to use a OL list in place of the hardcoded UL.

Comments are correctly described using an OL list and this is as used by TwentyTen.

bp-activity-templatetags.php ~line 695 has hardcoded markup where it doesn't really belong (at least to that degree) as noted by the script comment to remove.

Attached is a quick patch to that file changing UL to OL however I have just realised that we have jQuery at work overriding this markup so that needs to be found and also changed.

There is a possible backwards compatibility issue for child themes if they have styles on ul.commentlist but that is one example of why best not to style in that manner with dynamic themeable apps. regardless of breaking the odd theme I would argue this change still needs to be effected otherwise we run in fear of ever making necessary changes, it is not too much to ask that child themes update and that authors check the release notes before upgrading!

Attachments (1)

change-to-ol-comment-list.patch (748 bytes ) - added by hnla 16 years ago.

Download all attachments as: .zip

Change History (8)

#1 @DJPaul
16 years ago

  • Component CoreTheme
  • Keywords dev-feedback added

This breaks CSS selectors in BuddyPress. If BP-Default styles using it, I think we should expect child themes to as well. While I agree that OL would be semantically more appropriate, I'm not sure it's worth breaking this compatibility in the theme for this reason alone.

#2 @DJPaul
15 years ago

  • Milestone Awaiting ReviewFuture Release

#3 @karmatosed
13 years ago

  • Keywords has-patch, dev-feedback → has-patch dev-feedback
  • Resolutioninvalid
  • Severitynormal
  • Status newclosed

Not sure this needs to still be part of it with theme independence - if it does please reopen though and I agree it should be consistent.

Last edited 13 years ago by karmatosed (previous) (diff)

#4 @DJPaul
13 years ago

  • Keywords has-patch dev-feedback removed
  • Milestone Future Release1.6

This was fixed in BP 1.6 with #4137

#5 @DJPaul
13 years ago

  • Resolution invalid
  • Status closedreopened

#6 @DJPaul
13 years ago

  • Resolutionfixed
  • Status reopenedclosed

#7 @DJPaul
10 years ago

  • Component Appearance - Template PartsTemplates
Note: See TracTickets for help on using tickets.