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