@@ 2571-2576 (lines=6) @@ | ||
2568 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2569 | } |
|
2570 | ||
2571 | if ( $mod['plan_classes'] ) { |
|
2572 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2573 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2574 | } else { |
|
2575 | $mod['plan_classes'] = array( 'free' ); |
|
2576 | } |
|
2577 | ||
2578 | if ( $mod['feature'] ) { |
|
2579 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2578-2583 (lines=6) @@ | ||
2575 | $mod['plan_classes'] = array( 'free' ); |
|
2576 | } |
|
2577 | ||
2578 | if ( $mod['feature'] ) { |
|
2579 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2580 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2581 | } else { |
|
2582 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2583 | } |
|
2584 | ||
2585 | /** |
|
2586 | * Filters the feature array on a module. |