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