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