- Timestamp:
- 02/10/2022 09:38:45 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/webhook.php
r11099 r11544 81 81 // Step 3. If not in DB, or $pr_data->trac_ticket isn't yet in the DB, add a new row of it. 82 82 if ( $pr_data->trac_ticket && ( ! $existing_refs || ! $matched_existing_ref ) ) { 83 84 $user_id = (int) find_wporg_user_by_github( $pr_data->user->name, 'ID' ); 85 83 86 $wpdb->insert( 84 87 'trac_github_prs', … … 91 94 'pr' => $pr_number, 92 95 'data' => json_encode( $_pr_data_no_ticket ), 96 'author' => $user_id, 93 97 ] 94 98 );
Note: See TracChangeset
for help on using the changeset viewer.