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