Changeset 3915
- Timestamp:
- 09/01/2016 07:11:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
r3912 r3915 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'], … … 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'] ) {
Note: See TracChangeset
for help on using the changeset viewer.