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