Ticket #1949: meta-1949.patch
File meta-1949.patch, 1.8 KB (added by , 9 years ago) |
---|
-
sites/trunk/profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
522 522 523 523 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 524 524 $action = sprintf( 525 'Joined the organizing team for <a href="%s">%s</a> coming up %s',525 'Joined the organizing team for <a href="%s">%s</a> coming up on %s', 526 526 esc_url( $_POST['url'] ), 527 527 $_POST['wordcamp_name'], 528 528 $_POST['wordcamp_date'] … … 540 540 if ( 'attendee_registered' == $_POST['activity_type'] ) { 541 541 $type = 'wordcamp_attendee_add'; 542 542 543 $action = sprintf(544 'Registered to attend <a href="%s">%s</a>',545 esc_url( $_POST['url'] ),546 $_POST['wordcamp_name']547 );548 549 543 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 550 $action .= ' ' . sprintf( 'coming up %s', $_POST['wordcamp_date'] ); 544 $action = sprintf( 545 'Registered to attend <a href="%s">%s</a> coming up on %s', 546 esc_url( $_POST['url'] ), 547 $_POST['wordcamp_name'], 548 $_POST['wordcamp_date'] 549 ); 550 } else { 551 $action = sprintf( 552 'Registered to attend <a href="%s">%s</a>', 553 esc_url( $_POST['url'] ), 554 $_POST['wordcamp_name'] 555 ); 551 556 } 552 557 } elseif ( 'attendee_checked_in' == $_POST['activity_type'] ) { 553 558 $type = 'wordcamp_attendee_checked_in';