Changeset 5207 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 10/03/2011 01:25:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r5178 r5207 512 512 global $wpdb, $bp; 513 513 514 / * This is done here so we don't have problems with sql injection */514 // This is done here so we don't have problems with sql injection 515 515 if ( 'asc' == $this->order_by && !$for_editing ) 516 516 $sort_sql = 'ORDER BY name ASC'; … … 520 520 $sort_sql = 'ORDER BY option_order ASC'; 521 521 522 / * This eliminates a problem with getting all fields when there is no id for the object */522 // This eliminates a problem with getting all fields when there is no id for the object 523 523 if ( !$this->id ) 524 524 $parent_id = -1; … … 531 531 return false; 532 532 533 return $children;533 return apply_filters( 'bp_xprofile_field_get_children', $children ); 534 534 } 535 535
Note: See TracChangeset
for help on using the changeset viewer.