@@ 2524-2529 (lines=6) @@ | ||
2521 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2522 | } |
|
2523 | ||
2524 | if ( $mod['plan_classes'] ) { |
|
2525 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2526 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2527 | } else { |
|
2528 | $mod['plan_classes'] = array( 'free' ); |
|
2529 | } |
|
2530 | ||
2531 | if ( $mod['feature'] ) { |
|
2532 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2531-2536 (lines=6) @@ | ||
2528 | $mod['plan_classes'] = array( 'free' ); |
|
2529 | } |
|
2530 | ||
2531 | if ( $mod['feature'] ) { |
|
2532 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2533 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2534 | } else { |
|
2535 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2536 | } |
|
2537 | ||
2538 | /** |
|
2539 | * Filters the feature array on a module. |