Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 12 years ago

Last modified 9 years ago

#3009 closed enhancement (fixed)

bp-activity-comments Vs. wp-comments

Reported by: hnla's profile hnla Owned by: hnla's profile hnla
Milestone: 1.6 Priority: normal
Severity: normal Version: 1.5
Component: Templates 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 14 years ago.

Download all attachments as: .zip

Change History (8)

#1 @DJPaul
14 years ago

  • Component changed from Core to Theme
  • 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
14 years ago

  • Milestone changed from Awaiting Review to Future Release

#3 @karmatosed
12 years ago

  • Keywords changed from has-patch, dev-feedback to has-patch dev-feedback
  • Resolution set to invalid
  • Severity set to normal
  • Status changed from new to closed

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 12 years ago by karmatosed (previous) (diff)

#4 @DJPaul
12 years ago

  • Keywords has-patch dev-feedback removed
  • Milestone changed from Future Release to 1.6

This was fixed in BP 1.6 with #4137

#5 @DJPaul
12 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#6 @DJPaul
12 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

#7 @DJPaul
9 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.