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