Changeset 4347
- Timestamp:
- 11/11/2016 10:22:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
r4090 r4347 452 452 $values_to_add = array(); 453 453 foreach ( $projects_to_add as $project_id ) { 454 $values_to_add[] = $wpdb->prepare( '(%d, %d, %s, %s )',454 $values_to_add[] = $wpdb->prepare( '(%d, %d, %s, %s, %s)', 455 455 $user->ID, 456 456 $project_id, 457 457 $this->gp_locale->slug, 458 'default' 458 'default', 459 current_time( 'mysql', 1 ) 459 460 ); 460 461 } … … 463 464 $wpdb->query( " 464 465 INSERT INTO {$wpdb->wporg_translation_editors} 465 (`user_id`,`project_id`, `locale`, `locale_slug` )466 (`user_id`,`project_id`, `locale`, `locale_slug`, `date_added`) 466 467 VALUES " . implode( ', ', $values_to_add ) . " 467 468 " );
Note: See TracChangeset
for help on using the changeset viewer.