Ejemplo n.º 1
0
    }
}
// WPML PLugin support
DWModule::save('wpml', 'complex');
// QTranslate Plugin support
DWModule::save('qt', 'complex');
// WPSC/WPEC Plugin support
DWModule::save('wpsc', 'complex');
// bbPress Plugin support
DWModule::save('bbp_profile', 'simple');
// BP Plugin support
DWModule::save('bp', 'complex');
// BP Plugin support (Groups)
DWModule::save('bp-group', 'complex');
// Pods Plugin support
DWModule::save('pods', 'complex');
// Redirect to ReturnURL
if (!empty($returnurl)) {
    $q = array();
    // Checking if there are arguments set
    $pos = strpos($returnurl, '?');
    if ($pos !== FALSE) {
        // evaluate the args
        $query_string = substr($returnurl, $pos + 1);
        $args = explode('&', $query_string);
        foreach ($args as $arg) {
            @(list($name, $value) = explode('=', $arg));
            if ($name != 'dynwid_save' && $name != 'widget_id') {
                $q[] = $name . '=' . $value;
            }
        }