@@ 2634-2639 (lines=6) @@ | ||
2631 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2632 | } |
|
2633 | ||
2634 | if ( $mod['plan_classes'] ) { |
|
2635 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2636 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2637 | } else { |
|
2638 | $mod['plan_classes'] = array( 'free' ); |
|
2639 | } |
|
2640 | ||
2641 | if ( $mod['feature'] ) { |
|
2642 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2641-2646 (lines=6) @@ | ||
2638 | $mod['plan_classes'] = array( 'free' ); |
|
2639 | } |
|
2640 | ||
2641 | if ( $mod['feature'] ) { |
|
2642 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2643 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2644 | } else { |
|
2645 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2646 | } |
|
2647 | ||
2648 | /** |
|
2649 | * Filters the feature array on a module. |