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