Changeset 11296
- Timestamp:
- 10/25/2021 06:52:44 AM (4 years ago)
- Location:
- sites/trunk/api.wordpress.org/public_html/dotorg/helpscout
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/profile.php
r10957 r11296 67 67 68 68 if ( $user ) { 69 $slack_user = $wpdb->get_row( $ sql = $wpdb->prepare(69 $slack_user = $wpdb->get_row( $wpdb->prepare( 70 70 'SELECT * FROM slack_users WHERE user_id = %d', 71 71 $user->ID 72 72 ) ); 73 73 } else { 74 $slack_user = $wpdb->get_row( $ sql = $wpdb->prepare(74 $slack_user = $wpdb->get_row( $wpdb->prepare( 75 75 'SELECT * FROM slack_users WHERE profiledata LIKE %s', 76 76 '%' . $wpdb->esc_like( '"email":"' . $m[1] . '"' ) . '%', … … 90 90 91 91 // response to HS is just HTML to display in the sidebar 92 $response = array( 'html' => $html ); 93 94 echo json_encode( $response ); 92 echo json_encode( array( 'html' => $html ) );
Note: See TracChangeset
for help on using the changeset viewer.