@@ 2521-2526 (lines=6) @@ | ||
2518 | $mod['module_tags'] = array( self::translate_module_tag( 'Other' ) ); |
|
2519 | } |
|
2520 | ||
2521 | if ( $mod['plan_classes'] ) { |
|
2522 | $mod['plan_classes'] = explode( ',', $mod['plan_classes'] ); |
|
2523 | $mod['plan_classes'] = array_map( 'strtolower', array_map( 'trim', $mod['plan_classes'] ) ); |
|
2524 | } else { |
|
2525 | $mod['plan_classes'] = array( 'free' ); |
|
2526 | } |
|
2527 | ||
2528 | if ( $mod['feature'] ) { |
|
2529 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
@@ 2528-2533 (lines=6) @@ | ||
2525 | $mod['plan_classes'] = array( 'free' ); |
|
2526 | } |
|
2527 | ||
2528 | if ( $mod['feature'] ) { |
|
2529 | $mod['feature'] = explode( ',', $mod['feature'] ); |
|
2530 | $mod['feature'] = array_map( 'trim', $mod['feature'] ); |
|
2531 | } else { |
|
2532 | $mod['feature'] = array( self::translate_module_tag( 'Other' ) ); |
|
2533 | } |
|
2534 | ||
2535 | /** |
|
2536 | * Filters the feature array on a module. |