Making WordPress.org

Changeset 14130


Ignore:
Timestamp:
10/21/2024 03:23:13 AM (4 months ago)
Author:
dufresnesteven
Message:

profile-handler: Remove redundant wordcamp logging code block.

See: #5030

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

    r13881 r14130  
    706706                    $type = 'wordcamp_attendee_add';
    707707
    708                     if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) {
    709                         $action = sprintf(
    710                             'Registered to attend <a href="%s">%s</a>',
    711                             esc_url( $_POST['url'] ),
    712                             $_POST['wordcamp_name']
    713                         );
    714                     } else {
    715                         $action = sprintf(
    716                             'Registered to attend <a href="%s">%s</a>',
    717                             esc_url( $_POST['url'] ),
    718                             $_POST['wordcamp_name']
    719                         );
    720                     }
     708                    $action = sprintf(
     709                        'Registered to attend <a href="%s">%s</a>',
     710                        esc_url( $_POST['url'] ),
     711                        $_POST['wordcamp_name']
     712                    );
    721713
    722714                } elseif ( 'attendee_checked_in' == $_POST['activity_type'] ) {
Note: See TracChangeset for help on using the changeset viewer.