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