@@ 2616-2621 (lines=6) @@ | ||
2613 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2614 | } |
|
2615 | ||
2616 | if ( $mod['plan_classes'] ) { |
|
2617 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2618 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2619 | } else { |
|
2620 | $mod['plan_classes'] = array( 'free' ); |
|
2621 | } |
|
2622 | ||
2623 | if ( $mod['feature'] ) { |
|
2624 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2623-2628 (lines=6) @@ | ||
2620 | $mod['plan_classes'] = array( 'free' ); |
|
2621 | } |
|
2622 | ||
2623 | if ( $mod['feature'] ) { |
|
2624 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2625 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2626 | } else { |
|
2627 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2628 | } |
|
2629 | ||
2630 | /** |
|
2631 | * Filters the feature array on a module. |