@@ 2697-2702 (lines=6) @@ | ||
2694 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2695 | } |
|
2696 | ||
2697 | if ( $mod['plan_classes'] ) { |
|
2698 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2699 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2700 | } else { |
|
2701 | $mod['plan_classes'] = array( 'free' ); |
|
2702 | } |
|
2703 | ||
2704 | if ( $mod['feature'] ) { |
|
2705 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2704-2709 (lines=6) @@ | ||
2701 | $mod['plan_classes'] = array( 'free' ); |
|
2702 | } |
|
2703 | ||
2704 | if ( $mod['feature'] ) { |
|
2705 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2706 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2707 | } else { |
|
2708 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2709 | } |
|
2710 | ||
2711 | /** |
|
2712 | * Filters the feature array on a module. |