Skip to:

Opened 10 years ago

Closed 10 years ago

#5743 closed defect (bug) (fixed)

Member count uses incorrect plural form if 999 < member count < 2000

Reported by: tomdxw's profile tomdxw Owned by: boonebgorges's profile boonebgorges
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Members Keywords:


Line 347 of bp-members/bp-members-template.php passes $total (which is a formatted number containing a comma) to _n() when it should probably be passing $members_template->total_member_count.


Viewing member 1 to 50 (of 1,548 active member)

Change History (2)

#1 @boonebgorges
10 years ago

  • Milestone changed from Awaiting Review to 2.1

Good catch.

#2 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 8564:

Use raw member count, not formatted number, when localizing via _n() in bp_get_members_pagination_count()

Fixes #5743

Props tomdxw

Note: See TracTickets for help on using tickets.