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