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