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