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