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