Changeset 6453 for sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
- Timestamp:
- 01/28/2018 05:49:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
r5048 r6453 570 570 public function ajax_rosetta_get_projects() { 571 571 $projects = $this->get_translate_projects(); 572 array_walk( $projects, function( $value ) { 573 unset( $value->path ); // Path is not needed. 574 } ); 572 575 $project_tree = $this->get_project_tree( $projects, 0, 1 ); 573 576 … … 699 702 700 703 $_projects = $wpdb->get_results( ' 701 SELECT id, name, parent_project_id, slug 704 SELECT id, name, parent_project_id, slug, path 702 705 FROM translate_projects 703 706 WHERE
Note: See TracChangeset
for help on using the changeset viewer.