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