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