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