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