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