Changeset 11794
- Timestamp:
- 04/26/2022 06:17:41 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-trac-watcher/svn.php
r11372 r11794 2 2 namespace WordPressdotorg\Trac\Watcher\SVN; 3 3 use function WordPressdotorg\Trac\Watcher\Props\from_log as props_from_log; 4 use function WordPressdotorg\Profiles\assign_badge; 4 5 use function WordPressdotorg\Trac\Watcher\Props\find_user_id; 5 6 … … 165 166 166 167 $wpdb->insert( $props_table, $data ); 168 169 // Auto-assign Meta Contributor badge for matched meta contributions. 170 if ( $user_id && 'meta' === $slug && function_exists( 'WordPressdotorg\Profiles\assign_badge' ) ) { 171 assign_badge( 'meta-contributor', $user_id ); 172 } 167 173 } 168 174 }
Note: See TracChangeset
for help on using the changeset viewer.