@@ 2556-2561 (lines=6) @@ | ||
2553 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2554 | } |
|
2555 | ||
2556 | if ( $mod['plan_classes'] ) { |
|
2557 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2558 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2559 | } else { |
|
2560 | $mod['plan_classes'] = array( 'free' ); |
|
2561 | } |
|
2562 | ||
2563 | if ( $mod['feature'] ) { |
|
2564 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2563-2568 (lines=6) @@ | ||
2560 | $mod['plan_classes'] = array( 'free' ); |
|
2561 | } |
|
2562 | ||
2563 | if ( $mod['feature'] ) { |
|
2564 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2565 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2566 | } else { |
|
2567 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2568 | } |
|
2569 | ||
2570 | /** |
|
2571 | * Filters the feature array on a module. |