Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-xprofile/bp-xprofile-classes.php

    r5144 r5208  
    512512        global $wpdb, $bp;
    513513
    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
    515515        if ( 'asc' == $this->order_by && !$for_editing )
    516516            $sort_sql = 'ORDER BY name ASC';
     
    520520            $sort_sql = 'ORDER BY option_order ASC';
    521521
    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
    523523        if ( !$this->id )
    524524            $parent_id = -1;
     
    531531            return false;
    532532
    533         return $children;
     533        return apply_filters( 'bp_xprofile_field_get_children', $children );
    534534    }
    535535
     
    749749                </div>
    750750
     751                <?php do_action( 'xprofile_field_additional_options', &$this ) ?>
     752
    751753                <?php $this->render_admin_form_children(); ?>
    752754<?php   } else { ?>
Note: See TracChangeset for help on using the changeset viewer.