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