@@ 2545-2550 (lines=6) @@ | ||
2542 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2543 | } |
|
2544 | ||
2545 | if ( $mod['plan_classes'] ) { |
|
2546 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2547 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2548 | } else { |
|
2549 | $mod['plan_classes'] = array( 'free' ); |
|
2550 | } |
|
2551 | ||
2552 | if ( $mod['feature'] ) { |
|
2553 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2552-2557 (lines=6) @@ | ||
2549 | $mod['plan_classes'] = array( 'free' ); |
|
2550 | } |
|
2551 | ||
2552 | if ( $mod['feature'] ) { |
|
2553 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2554 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2555 | } else { |
|
2556 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2557 | } |
|
2558 | ||
2559 | /** |
|
2560 | * Filters the feature array on a module. |