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