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