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