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