@@ 2588-2593 (lines=6) @@ | ||
2585 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2586 | } |
|
2587 | ||
2588 | if ( $mod['plan_classes'] ) { |
|
2589 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2590 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2591 | } else { |
|
2592 | $mod['plan_classes'] = array( 'free' ); |
|
2593 | } |
|
2594 | ||
2595 | if ( $mod['feature'] ) { |
|
2596 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2595-2600 (lines=6) @@ | ||
2592 | $mod['plan_classes'] = array( 'free' ); |
|
2593 | } |
|
2594 | ||
2595 | if ( $mod['feature'] ) { |
|
2596 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2597 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2598 | } else { |
|
2599 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2600 | } |
|
2601 | ||
2602 | /** |
|
2603 | * Filters the feature array on a module. |