Changeset 5381 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php
- Timestamp:
- 04/20/2017 12:17:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php
r5365 r5381 334 334 335 335 $meta = get_post_custom( $wordcamp_id ); 336 337 $mentor = get_user_by( 'login', $meta['Mentor WordPress.org User Name'][0] ); 338 if ( $mentor ) { 339 add_user_to_blog( get_wordcamp_site_id( $wordcamp ), $mentor->ID, 'administrator' ); 340 } 336 341 337 342 switch_to_blog( $this->new_site_id );
Note: See TracChangeset
for help on using the changeset viewer.