@@ 2557-2562 (lines=6) @@ | ||
2554 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2555 | } |
|
2556 | ||
2557 | if ( $mod['plan_classes'] ) { |
|
2558 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2559 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2560 | } else { |
|
2561 | $mod['plan_classes'] = array( 'free' ); |
|
2562 | } |
|
2563 | ||
2564 | if ( $mod['feature'] ) { |
|
2565 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2564-2569 (lines=6) @@ | ||
2561 | $mod['plan_classes'] = array( 'free' ); |
|
2562 | } |
|
2563 | ||
2564 | if ( $mod['feature'] ) { |
|
2565 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2566 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2567 | } else { |
|
2568 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2569 | } |
|
2570 | ||
2571 | /** |
|
2572 | * Filters the feature array on a module. |