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