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