Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#5785 closed defect (bug) (fixed)

Typo error in bp_messages_pagination_count

Reported by: danbp Owned by: djpaul
Priority: normal Milestone: 2.1
Component: Messages Version:
Severity: normal 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
12 years ago

Yeah, but easy to fix.

#2 @djpaul
12 years ago

  • Owner set to djpaul
  • Resolution → fixed
  • Status new → closed

In 8742:

Messages: remove unnecessary closing PHP tag after a function.

Fixes #5785

Note: See TracTickets for help on using tickets.