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