Changeset 14549
- Timestamp:
- 10/09/2025 06:43:30 AM (3 days 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
r14365 r14549 660 660 $item_id = $_POST['speaker_id']; 661 661 662 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 663 $action = sprintf( 664 'Confirmed as a speaker for <a href="%s">%s</a>', 665 esc_url( $_POST['url'] ), 666 $_POST['wordcamp_name'] 667 ); 668 } else { 669 $action = sprintf( 670 'Confirmed as a speaker for <a href="%s">%s</a>', 671 esc_url( $_POST['url'] ), 672 $_POST['wordcamp_name'] 673 ); 674 } 662 $action = sprintf( 663 'Confirmed as a speaker for <a href="%s">%s</a>', 664 esc_url( $_POST['url'] ), 665 $_POST['wordcamp_name'] 666 ); 675 667 676 668 } elseif ( isset( $_POST['organizer_id'] ) && ! empty( $_POST['organizer_id'] ) ) { … … 678 670 $item_id = $_POST['organizer_id']; 679 671 680 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 681 $action = sprintf( 682 'Joined the organizing team for <a href="%s">%s</a>', 683 esc_url( $_POST['url'] ), 684 $_POST['wordcamp_name'] 685 ); 686 } else { 687 $action = sprintf( 688 'Joined the organizing team for <a href="%s">%s</a>', 689 esc_url( $_POST['url'] ), 690 $_POST['wordcamp_name'] 691 ); 692 } 672 $action = sprintf( 673 'Joined the organizing team for <a href="%s">%s</a>', 674 esc_url( $_POST['url'] ), 675 $_POST['wordcamp_name'] 676 ); 693 677 694 678 } elseif ( isset( $_POST['type'] ) && 'mentor_assign' === $_POST['type'] ) { … … 1109 1093 new WPOrg_Profiles_Activity_Handler(); 1110 1094 } 1095
Note: See TracChangeset
for help on using the changeset viewer.