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