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