@@ 2488-2493 (lines=6) @@ | ||
2485 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2486 | } |
|
2487 | ||
2488 | if ( $mod['plan_classes'] ) { |
|
2489 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2490 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2491 | } else { |
|
2492 | $mod['plan_classes'] = array( 'free' ); |
|
2493 | } |
|
2494 | ||
2495 | if ( $mod['feature'] ) { |
|
2496 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2495-2500 (lines=6) @@ | ||
2492 | $mod['plan_classes'] = array( 'free' ); |
|
2493 | } |
|
2494 | ||
2495 | if ( $mod['feature'] ) { |
|
2496 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2497 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2498 | } else { |
|
2499 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2500 | } |
|
2501 | ||
2502 | /** |
|
2503 | * Filters the feature array on a module. |