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