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