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