@@ 2536-2541 (lines=6) @@ | ||
2533 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2534 | } |
|
2535 | ||
2536 | if ( $mod['plan_classes'] ) { |
|
2537 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2538 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2539 | } else { |
|
2540 | $mod['plan_classes'] = array( 'free' ); |
|
2541 | } |
|
2542 | ||
2543 | if ( $mod['feature'] ) { |
|
2544 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2543-2548 (lines=6) @@ | ||
2540 | $mod['plan_classes'] = array( 'free' ); |
|
2541 | } |
|
2542 | ||
2543 | if ( $mod['feature'] ) { |
|
2544 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2545 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2546 | } else { |
|
2547 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2548 | } |
|
2549 | ||
2550 | /** |
|
2551 | * Filters the feature array on a module. |