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