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