@@ 2566-2571 (lines=6) @@ | ||
2563 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2564 | } |
|
2565 | ||
2566 | if ( $mod['plan_classes'] ) { |
|
2567 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2568 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2569 | } else { |
|
2570 | $mod['plan_classes'] = array( 'free' ); |
|
2571 | } |
|
2572 | ||
2573 | if ( $mod['feature'] ) { |
|
2574 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2573-2578 (lines=6) @@ | ||
2570 | $mod['plan_classes'] = array( 'free' ); |
|
2571 | } |
|
2572 | ||
2573 | if ( $mod['feature'] ) { |
|
2574 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2575 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2576 | } else { |
|
2577 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2578 | } |
|
2579 | ||
2580 | /** |
|
2581 | * Filters the feature array on a module. |