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