Skip to:
Content

BuddyPress.org

Changeset 8206


Ignore:
Timestamp:
03/29/2014 09:07:25 PM (11 years ago)
Author:
r-a-y
Message:

Messages: Fix wrong sprintf() call during notification formatting.

See r8202. Anti-props r-a-y.

Fixes #5490

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-notifications.php

    r8202 r8206  
    128128
    129129            if ( ! empty( $secondary_item_id ) ) {
    130                 $text = sprintf( __( '%2$s sent you a new private message', 'buddypress' ), bp_core_get_user_displayname( $secondary_item_id ) );
     130                $text = sprintf( __( '%s sent you a new private message', 'buddypress' ), bp_core_get_user_displayname( $secondary_item_id ) );
    131131            } else {
    132132                $text = sprintf( __( 'You have %d new private messages', 'buddypress' ), (int) $total_items );
Note: See TracChangeset for help on using the changeset viewer.