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