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