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