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