@@ 2537-2542 (lines=6) @@ | ||
2534 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2535 | } |
|
2536 | ||
2537 | if ( $mod['plan_classes'] ) { |
|
2538 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2539 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2540 | } else { |
|
2541 | $mod['plan_classes'] = array( 'free' ); |
|
2542 | } |
|
2543 | ||
2544 | if ( $mod['feature'] ) { |
|
2545 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2544-2549 (lines=6) @@ | ||
2541 | $mod['plan_classes'] = array( 'free' ); |
|
2542 | } |
|
2543 | ||
2544 | if ( $mod['feature'] ) { |
|
2545 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2546 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2547 | } else { |
|
2548 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2549 | } |
|
2550 | ||
2551 | /** |
|
2552 | * Filters the feature array on a module. |