Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#5785 closed defect (bug) (fixed)

Typo error in bp_messages_pagination_count

Reported by: danbp's profile danbp Owned by: djpaul's profile djpaul
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Messages Keywords:
Cc:

Description

I'm wondering about the closing and opening php tags at the end of these function (bp-messages/bp-messages-template.php:720)

Seems to be unecessary ?

function bp_messages_pagination_count() {
	[....]

	echo sprintf( _n( 'Viewing message %1$s to %2$s (of %3$s message)', 'Viewing message %1$s to %2$s (of %3$s messages)', $total, 'buddypress' ), $from_num, $to_num, number_format_i18n( $total ) ); ?><?php
}

Change History (2)

#1 @DJPaul
10 years ago

Yeah, but easy to fix.

#2 @djpaul
10 years ago

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

In 8742:

Messages: remove unnecessary closing PHP tag after a function.

Fixes #5785

Note: See TracTickets for help on using tickets.