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