Changeset 5014
- Timestamp:
- 02/28/2017 12:28:16 AM (8 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
r4981 r5014 333 333 } 334 334 335 // Workaround to ensure upload directories are set up 336 wp_remote_get( esc_url( get_home_url( $wordcamp_id ) ) ); 337 335 338 $meta = get_post_custom( $wordcamp_id ); 336 339 337 340 switch_to_blog( $this->new_site_id ); 338 339 // Attempt to create the proper upload directories in the context of the new site before post stubs happen340 wp_upload_dir( null, true, true );341 341 342 342 $lead_organizer = $this->get_user_or_current_user( $meta['WordPress.org Username'][0] );
Note: See TracChangeset
for help on using the changeset viewer.