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