@@ 2612-2617 (lines=6) @@ | ||
2609 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2610 | } |
|
2611 | ||
2612 | if ( $mod['plan_classes'] ) { |
|
2613 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2614 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2615 | } else { |
|
2616 | $mod['plan_classes'] = array( 'free' ); |
|
2617 | } |
|
2618 | ||
2619 | if ( $mod['feature'] ) { |
|
2620 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2619-2624 (lines=6) @@ | ||
2616 | $mod['plan_classes'] = array( 'free' ); |
|
2617 | } |
|
2618 | ||
2619 | if ( $mod['feature'] ) { |
|
2620 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2621 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2622 | } else { |
|
2623 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2624 | } |
|
2625 | ||
2626 | /** |
|
2627 | * Filters the feature array on a module. |