@@ 2607-2612 (lines=6) @@ | ||
2604 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2605 | } |
|
2606 | ||
2607 | if ( $mod['plan_classes'] ) { |
|
2608 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2609 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2610 | } else { |
|
2611 | $mod['plan_classes'] = array( 'free' ); |
|
2612 | } |
|
2613 | ||
2614 | if ( $mod['feature'] ) { |
|
2615 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2614-2619 (lines=6) @@ | ||
2611 | $mod['plan_classes'] = array( 'free' ); |
|
2612 | } |
|
2613 | ||
2614 | if ( $mod['feature'] ) { |
|
2615 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2616 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2617 | } else { |
|
2618 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2619 | } |
|
2620 | ||
2621 | /** |
|
2622 | * Filters the feature array on a module. |