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