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