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