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