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